diff options
-rw-r--r-- | src/ui/inputwin.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/ui/inputwin.c b/src/ui/inputwin.c index db42c5a8..5c4b6630 100644 --- a/src/ui/inputwin.c +++ b/src/ui/inputwin.c @@ -822,11 +822,8 @@ static int _inp_rl_down_arrow_handler(int count, int key) { add_history(rl_line_buffer); - //also tried: add_history(rl_copy_text(0, rl_end)); - //also tried: add_history("Hello"); + using_history(); rl_replace_line("", 0); rl_redisplay(); - rl_end = 0; // why is this neeed? shouln't replace_line do this? - rl_point = 0; // why is this neeed? shouln't replace_line do this? return 0; } |