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