Show first part of inputbox if history items it too long.
authorDaniel Carl <danielcarl@gmx.de>
Sun, 24 Mar 2013 17:57:10 +0000 (18:57 +0100)
committerDaniel Carl <danielcarl@gmx.de>
Sun, 24 Mar 2013 17:57:10 +0000 (18:57 +0100)
commit7c55e09ac9549d3de60e80471b440260a54c0739
tree0b34c3e5bb5799ef49d961c359a169c0ec806b58
parenta16f8cd6b894aa8f6f4958a7d902ff6202a96553
Show first part of inputbox if history items it too long.

If a too long history items was displayed we put also the cursor to the end of
the value. But this causes that the first, and potentially more interesting
part was hidden. Now we place the cursor to the beginning, if the printed
content in inputbox is too long.
src/command.c
src/config.h