Michael Krysiak points out that some terminals (eg mintty) have cursor

styles 5 and 6 too, so allow them to be set.
pull/1/head
Nicholas Marriott 2012-03-17 21:37:36 +00:00
parent e87d4b43ab
commit 87d092d226
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}