]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commit
New command 'history' and new shortcuts to search through the commands history
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 25 Sep 2010 08:35:59 +0000 (08:35 +0000)
committerRudolf Polzer <divverent@alientrap.org>
Sat, 25 Sep 2010 19:49:04 +0000 (21:49 +0200)
commit5c92efcb7f6186d225788829268c2e6ecfeeab63
treed3df91a524f46048ceab0570012090171cdf20f0
parent659d2f83a08ef04792186e5ed1d32fb37b237d14
New command 'history' and new shortcuts to search through the commands history

ctrl-, goes to the first command of the history
ctrl-. goes to the last command of the history

type a string (wildcards allowed) and
ctrl-f prints all the matching commands
ctrl-r searches backwards
ctrl-shift-r searches forwards

The last 2 shortcuts also point the history's index to the matching command but without fetching it to let one continue the search. To fetch it, it suffices to just press UP or DOWN.

Signed-off-by: terencehill <piuntn@gmail.com>
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10491 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=0961be131f8762ddd1d659a7a3a2803b42c6bad4
keys.c