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.
This commit is contained in:
Tiago Cunha 2012-03-18 02:11:27 +00:00
parent cf8faa3b33
commit dc83ba0372

View File

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