summaryrefslogtreecommitdiffstats
path: root/screen.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2012-03-17 21:37:36 +0000
committerNicholas Marriott <nicm@openbsd.org>2012-03-17 21:37:36 +0000
commit87d092d2262031cfb714069525d9d7ec894b7fcc (patch)
tree15799715189edd08cab2ed16b4302296f0f67460 /screen.c
parente87d4b43abdba32698ed44590f7fd84cf6891c8d (diff)
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 3c8a5235..ed5fcfce 100644
--- a/screen.c
+++ b/screen.c
@@ -96,7 +96,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;
}