aboutsummaryrefslogtreecommitdiff
path: root/screen.c
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2012-03-18 02:11:27 +0000
committerTiago Cunha <tcunha@gmx.com>2012-03-18 02:11:27 +0000
commitdc83ba0372380d9f65a720685e38134675a982d8 (patch)
treea6a4a25c16bd771c14051ec27b24ef51229fc633 /screen.c
parentcf8faa3b33cd0bbe5730340f6c70dab25bb3104f (diff)
downloadrtmux-dc83ba0372380d9f65a720685e38134675a982d8.tar.gz
rtmux-dc83ba0372380d9f65a720685e38134675a982d8.tar.bz2
rtmux-dc83ba0372380d9f65a720685e38134675a982d8.zip
Sync OpenBSD patchset 1065:
Michael Krysiak points out that some terminals (eg mintty) have cursor styles 5 and 6 too, so allow them to be set.
Diffstat (limited to 'screen.c')
-rw-r--r--screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/screen.c b/screen.c
index 113bfff9..6f0f3e43 100644
--- a/screen.c
+++ b/screen.c
@@ -97,7 +97,7 @@ screen_reset_tabs(struct screen *s)
void
screen_set_cursor_style(struct screen *s, u_int style)
{
- if (style <= 4)
+ if (style <= 6)
s->cstyle = style;
}