summaryrefslogtreecommitdiff
path: root/data/readline/lendiff.diff
blob: b0be571610dfec6b9452a649d84af6ccf4de08d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/display.c b/display.c
index 4c6cc00..6471968 100644
--- a/display.c
+++ b/display.c
@@ -2206,7 +2206,11 @@ clear_rest_of_line:
 	     space_to_eol will insert too many spaces.  XXX - maybe we should
 	     adjust col_lendiff based on the difference between _rl_last_c_pos
 	     and _rl_screenwidth */
+#if 1
+	  if (col_lendiff)
+#else
 	  if (col_lendiff && ((mb_cur_max == 1 || rl_byte_oriented) || (_rl_last_c_pos < _rl_screenwidth)))
+#endif
 	    {	  
 	      if (_rl_term_autowrap && current_line < inv_botlin)
 		space_to_eol (col_lendiff);