summaryrefslogtreecommitdiffstats
path: root/src/utils.c
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2011-10-04 00:24:03 +0000
committerLukas Fleischer <calcurse@cryptocrack.de>2011-10-06 12:37:06 +0200
commit59e006e56d9f893506af56a4ca114fe53b537e49 (patch)
treec27e3518b30f96a84ebe212dc8dc8423bc369d50 /src/utils.c
parent98651a549f6fc43d96207734fb0f02b240354a4c (diff)
downloadcalcurse-59e006e56d9f893506af56a4ca114fe53b537e49.tar.gz
calcurse-59e006e56d9f893506af56a4ca114fe53b537e49.zip
src/calcurse.c: Support count prefixes for motions
Add a global count buffer to our main loop and pass it to keys_getch() as well as to all motion commands. This enables some fancy shortcuts: * Type "2l" to jump to the day after tomorrow. * Type "4k" (or "28l") to move forward four weeks. * Type "2$" to go to the end of next week. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/utils.c')
0 files changed, 0 insertions, 0 deletions