diff options
Diffstat (limited to 'editors')
-rw-r--r-- | editors/vi.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/editors/vi.c b/editors/vi.c index b2d185193..75ce8d396 100644 --- a/editors/vi.c +++ b/editors/vi.c | |||
@@ -3074,7 +3074,12 @@ static void go_bottom_and_clear_to_eol(void) | |||
3074 | //----- Erase from cursor to end of screen ----------------------- | 3074 | //----- Erase from cursor to end of screen ----------------------- |
3075 | static void clear_to_eos(void) | 3075 | static void clear_to_eos(void) |
3076 | { | 3076 | { |
3077 | #if !ENABLE_PLATFORM_MINGW32 | ||
3077 | write1(ESC_CLEAR2EOS); | 3078 | write1(ESC_CLEAR2EOS); |
3079 | #else | ||
3080 | /* in practice clear_to_eos() always clears the entire screen */ | ||
3081 | reset_screen(); | ||
3082 | #endif | ||
3078 | } | 3083 | } |
3079 | 3084 | ||
3080 | //----- Start standout mode ------------------------------------ | 3085 | //----- Start standout mode ------------------------------------ |