aboutsummaryrefslogtreecommitdiff
path: root/vt.c
diff options
context:
space:
mode:
Diffstat (limited to 'vt.c')
-rw-r--r--vt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vt.c b/vt.c
index b00b840d..8f1db921 100644
--- a/vt.c
+++ b/vt.c
@@ -690,7 +690,7 @@ action(struct terminal *term, enum action action, uint8_t c)
break;
case ACTION_PRINT: {
- if (term->print_needs_wrap) {
+ if (term->auto_margin && term->print_needs_wrap) {
if (term->cursor.row == term->scroll_region.end - 1) {
term_scroll(term, 1);
term_cursor_to(term, term->cursor.row, 0);