]> 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)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 25 Sep 2010 08:35:59 +0000 (08:35 +0000)
commit0961be131f8762ddd1d659a7a3a2803b42c6bad4
tree8069d476245c2496ba7b00b30e4f232db0bd065a
parente63a0114bbd617c020c6217f5e1fe1145b1d2c78
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
keys.c