aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/termptyops.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/termptyops.c')
-rw-r--r--src/bin/termptyops.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bin/termptyops.c b/src/bin/termptyops.c
index dfb3708..c6a93dd 100644
--- a/src/bin/termptyops.c
+++ b/src/bin/termptyops.c
@@ -399,6 +399,9 @@ termpty_reset_state(Termpty *ty)
ty->cursor_state.cy = 0;
ty->termstate.top_margin = 0;
ty->termstate.bottom_margin = 0;
+ ty->termstate.left_margin = 0;
+ ty->termstate.right_margin = 0;
+ ty->termstate.lr_margins = 0;
ty->termstate.had_cr_x = 0;
ty->termstate.had_cr_y = 0;
ty->termstate.restrict_cursor = 0;