diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/window.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/window.cpp b/src/window.cpp index 2b79b04e..86e466eb 100644 --- a/src/window.cpp +++ b/src/window.cpp @@ -48,10 +48,13 @@ const char *base; int read_key(FILE *) { + size_t x; int result; do { + x = w->getX(); w->runGetStringHelper(rl_line_buffer); + w->goToXY(x, start_y); w->refresh(); result = w->readKey(); } |