author | Matt Portas <matt.r.portas@gmail.com> | |
Thu, 28 Jan 2010 19:38:21 +0000 (20:38 +0100) | ||
committer | Max Kellermann <max@duempel.org> | |
Thu, 28 Jan 2010 19:38:21 +0000 (20:38 +0100) | ||
commit | 6376fcf552647b47543114a21b1842c3283da0ec | |
tree | f91fc92c8dbdbe5e470ef9a2c9798eb89994b037 | tree | snapshot |
parent | abd652745e1eb92accadd527ec13c6b36c0d7501 | commit | diff |
screen_find: fix garbage control chars in search string
Went a control key was pressed it would exit, but still append some
garbage to the end of the search string. This meant that the find
next/previous command didn't work. This patch moves the loop
condition to after getting the key input.
Went a control key was pressed it would exit, but still append some
garbage to the end of the search string. This meant that the find
next/previous command didn't work. This patch moves the loop
condition to after getting the key input.
src/screen_find.c | diff | blob | history |