readline/readline-5.2-inv.patch

13 lines
502 B
Diff
Raw Normal View History

diff -up readline-5.2/display.c.inv readline-5.2/display.c
--- readline-5.2/display.c.inv 2007-10-31 17:14:31.000000000 +0100
+++ readline-5.2/display.c 2007-10-31 17:15:00.000000000 +0100
@@ -943,7 +943,7 @@ rl_redisplay ()
cpos_adjusted == 0 &&
_rl_last_c_pos != o_cpos &&
_rl_last_c_pos > wrap_offset &&
- o_cpos < prompt_last_invisible)
+ o_cpos <= prompt_last_invisible)
_rl_last_c_pos -= wrap_offset;
/* If this is the line with the prompt, we might need to