summaryrefslogtreecommitdiffstats
path: root/screen.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2024-01-03 19:17:10 +0000
committerThomas Adam <thomas@xteddy.org>2024-01-03 19:17:10 +0000
commite809c2ec359b0fd6151cf33929244b7a7d637119 (patch)
tree6c5d772aa777168fb4b2850630cb528afd88aff1 /screen.c
parent4266d3efc89cdf7d1af907677361caa24b58c9eb (diff)
parent40a20bc8ae800e9249037867c863111fcbfa2733 (diff)
Merge branch 'obsd-master'
Diffstat (limited to 'screen.c')
-rw-r--r--screen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/screen.c b/screen.c
index 55eca09d..f73a8505 100644
--- a/screen.c
+++ b/screen.c
@@ -82,6 +82,7 @@ screen_init(struct screen *s, u_int sx, u_int sy, u_int hlimit)
s->cstyle = SCREEN_CURSOR_DEFAULT;
s->default_cstyle = SCREEN_CURSOR_DEFAULT;
+ s->mode = MODE_CURSOR;
s->default_mode = 0;
s->ccolour = -1;
s->default_ccolour = -1;