From 87d092d2262031cfb714069525d9d7ec894b7fcc Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Sat, 17 Mar 2012 21:37:36 +0000 Subject: [PATCH] Michael Krysiak points out that some terminals (eg mintty) have cursor styles 5 and 6 too, so allow them to be set. --- screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }