aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--terminal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/terminal.c b/terminal.c
index e8a3173b..5c94e5aa 100644
--- a/terminal.c
+++ b/terminal.c
@@ -1733,7 +1733,7 @@ term_cursor_left(struct terminal *term, int count)
/* Reverse wrap */
if (unlikely(new_col < 0)) {
- if (unlikely(term->reverse_wrap)) {
+ if (unlikely(term->reverse_wrap && term->auto_margin)) {
/* Number of rows to reverse wrap through */
int row_count = (abs(new_col) - 1) / term->cols + 1;