diff options
author | Daniel Lezcano <daniel.lezcano@linaro.org> | 2011-06-21 10:49:39 +0200 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2011-06-21 10:49:39 +0200 |
commit | e78bc07486eb127901860563911533230bcc53a3 (patch) | |
tree | a34ef91053871828e4887f2e664c7332161a74f1 | |
parent | 10c8645d3380167dba8acd1701ca8473ca2efa36 (diff) | |
download | powerdebugV2-e78bc07486eb127901860563911533230bcc53a3.tar.gz |
reset scrolling when selecting an item in the search list
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
-rw-r--r-- | display.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -472,6 +472,9 @@ static int display_find_keystroke(int fd, void *data) if (windata[current_win].ops->selectf()) return -1; + windata[current_win].cursor = 0; + windata[current_win].scrolling = 0; + return 0; default: |