artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce01693
)
Always initialize screen mode, GitHub issue 3750 from Ding Fei.
author
nicm
<nicm@openbsd.org>
Wed, 27 Dec 2023 20:17:13 +0000
(20:17 +0000)
committer
nicm
<nicm@openbsd.org>
Wed, 27 Dec 2023 20:17:13 +0000
(20:17 +0000)
usr.bin/tmux/screen.c
patch
|
blob
|
history
diff --git
a/usr.bin/tmux/screen.c
b/usr.bin/tmux/screen.c
index
a943d20
..
b70ed6e
100644
(file)
--- a/
usr.bin/tmux/screen.c
+++ b/
usr.bin/tmux/screen.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: screen.c,v 1.8
3 2023/09/19 08:35:44
nicm Exp $ */
+/* $OpenBSD: screen.c,v 1.8
4 2023/12/27 20:17:13
nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@
-83,6
+83,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;