aboutsummaryrefslogtreecommitdiff
path: root/display.c
diff options
context:
space:
mode:
Diffstat (limited to 'display.c')
-rw-r--r--display.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/display.c b/display.c
index 8f442c1..0cfbf94 100644
--- a/display.c
+++ b/display.c
@@ -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: