diff options
Diffstat (limited to 'src/edbox.c')
| -rw-r--r-- | src/edbox.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/edbox.c b/src/edbox.c index de9df79..8f325c2 100644 --- a/src/edbox.c +++ b/src/edbox.c @@ -135,9 +135,11 @@ static void normal_keystroke(void) { switch(c) { case CH_EOL: // hide_cursor(); // already done by the caller + edbox_hide(); if(edbox_callback) (*edbox_callback)(); - /* fall thru */ + edbox_clear(); + break; case CH_CLR: edbox_hide(); /* fall thru */ |
