From dc83ba0372380d9f65a720685e38134675a982d8 Mon Sep 17 00:00:00 2001 From: Tiago Cunha Date: Sun, 18 Mar 2012 02:11:27 +0000 Subject: [PATCH] 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. --- screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }