]> rtime.felk.cvut.cz Git - sysless.git/commitdiff
cmdproc: Add history handling
authorMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 1 Aug 2013 09:08:17 +0000 (11:08 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 1 Aug 2013 09:09:31 +0000 (11:09 +0200)
Now, command processor can remember several last entered lines. The user can
naviagte the history with Up/Down or Ctrl-P/Ctrl-N keys.

When hist and hist_size fields of ed_line are zero, the behavior of
the cmdproc should be the same as without this change.


No differences found