Changed history stepping to act like in vim.
authorDaniel Carl <danielcarl@gmx.de>
Fri, 29 Mar 2013 13:21:38 +0000 (14:21 +0100)
committerDaniel Carl <danielcarl@gmx.de>
Fri, 29 Mar 2013 13:21:38 +0000 (14:21 +0100)
commitf22afcb2c56c1bd428cf162fd266afd4e658da78
tree768956ce3decc5f7fbb4d51190e2cc8c968cd4af
parentdb26d0fe31db81df45d8dcab26016db90c88dcce
Changed history stepping to act like in vim.

Now the history isn't wrap searched. The history can only be started in
previous direction. The latest entry in next direction (latest item) is an
empty items so that we print only the prefix into the input box.

Further the g_list_get_nth_data() was removed, because this is slower than
stepping through the list direct via previous and next.
src/command.c
src/history.c
src/history.h