aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/termptyops.c
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2017-06-01 21:34:01 +0200
committerBoris Faure <billiob@gmail.com>2017-06-01 21:34:01 +0200
commit6c750c660c9bef130e4e2fc19926905c91910849 (patch)
tree3e52a097698c7eb34ba549dee48d94f99b0abfa1 /src/bin/termptyops.c
parenttermptyesc: improve debug (diff)
downloadterminology-6c750c660c9bef130e4e2fc19926905c91910849.tar.gz
termpty: on reset, no longer restrict cursor
Diffstat (limited to 'src/bin/termptyops.c')
-rw-r--r--src/bin/termptyops.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/termptyops.c b/src/bin/termptyops.c
index 4edc0c7..dfb3708 100644
--- a/src/bin/termptyops.c
+++ b/src/bin/termptyops.c
@@ -401,6 +401,7 @@ termpty_reset_state(Termpty *ty)
ty->termstate.bottom_margin = 0;
ty->termstate.had_cr_x = 0;
ty->termstate.had_cr_y = 0;
+ ty->termstate.restrict_cursor = 0;
termpty_reset_att(&(ty->termstate.att));
ty->termstate.charset = 0;
ty->termstate.charsetch = 'B';