aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--editors/vi.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/editors/vi.c b/editors/vi.c
index 243676d5f..da7464b58 100644
--- a/editors/vi.c
+++ b/editors/vi.c
@@ -3625,12 +3625,7 @@ static void do_cmd(int c)
3625 break; 3625 break;
3626 case 12: // ctrl-L force redraw whole screen 3626 case 12: // ctrl-L force redraw whole screen
3627 case 18: // ctrl-R force redraw 3627 case 18: // ctrl-R force redraw
3628 place_cursor(0, 0); 3628 redraw(TRUE); // this will redraw the entire display
3629 clear_to_eos();
3630 //mysleep(10); // why???
3631 screen_erase(); // erase the internal screen buffer
3632 last_status_cksum = 0; // force status update
3633 refresh(TRUE); // this will redraw the entire display
3634 break; 3629 break;
3635 case 13: // Carriage Return ^M 3630 case 13: // Carriage Return ^M
3636 case '+': // +- goto next line 3631 case '+': // +- goto next line