aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/screen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/screen.cpp')
-rw-r--r--src/screen.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/screen.cpp b/src/screen.cpp
index 1971bb57..e248079a 100644
--- a/src/screen.cpp
+++ b/src/screen.cpp
@@ -1424,6 +1424,7 @@ void s_reset(screen_t *s, screen_reset_mode_t mode)
wcstring abandon_line_string;
abandon_line_string.reserve(screen_width + 32); //should be enough
+ /* Don't need to check for wcwidth errors; this is done when setting up omitted_newline_char in common.cpp */
int non_space_width = wcwidth(omitted_newline_char);
if (screen_width >= non_space_width)
{