Multiple input history
commit52b776c6f253c39e7b5cf2802a634b44c07ea8ea
authorSadrul Habib Chowdhury <sadrul@users.sourceforge.net>
Fri, 13 Feb 2009 04:28:58 +0000 (12 23:28 -0500)
committerSadrul Habib Chowdhury <sadrul@users.sourceforge.net>
Fri, 13 Feb 2009 04:28:58 +0000 (12 23:28 -0500)
tree5486415a3f046c6097522d55fd7aebf4f04adf53
parenta62adf5f7df9bdcabcecba002699af7980dd9203
Multiple input history

Based on initial patch by Romain Francoise. I had actually committed his
patch in a branch, but some bits of the implementation looked a bit more
complicated than necessary. So I scratched that for this, which looks
pretty similar, but I think is a bit simpler to understand. The
behaviour is mostly the same, e.g. duplicate commands are moved at the
beginning of the history, and not added again.

There is currently no limit to the number of inputs to save in history.
But it can certainly be added if necessary.

Fixes #25074.
src/input.c