summaryrefslogtreecommitdiffstats
path: root/contrib/netbsd-tests/lib/libc/stdlib/t_exit.c
diff options
context:
space:
mode:
authordumbbell <dumbbell@FreeBSD.org>2014-11-01 17:05:15 +0000
committerdumbbell <dumbbell@FreeBSD.org>2014-11-01 17:05:15 +0000
commit035cb01fbbe932e0165a764ecab69cd6492d5fbc (patch)
treede2db3fcc80adf0d399fede8bc0d5457dc4e2075 /contrib/netbsd-tests/lib/libc/stdlib/t_exit.c
parent120021745eb3a1c1b24fdc54769f808151deb621 (diff)
downloadFreeBSD-src-035cb01fbbe932e0165a764ecab69cd6492d5fbc.zip
FreeBSD-src-035cb01fbbe932e0165a764ecab69cd6492d5fbc.tar.gz
vt(4): Adjust the cursor position after changing the window size
A new terminal_set_cursor() is added: it wraps the existing teken_set_cursor() function. In vtbuf_grow(), the cursor position is adjusted at the end of the function. In vt_change_font(), we call terminal_set_cursor() just after terminal_set_winsize_blank(), while the terminal is mute. This fixes a bug where, after loading a kernel video driver which increases the terminal window size, the cursor remains at its old position, in other words, in the middle of the display content. PR: 194421 MFC after: 1 week
Diffstat (limited to 'contrib/netbsd-tests/lib/libc/stdlib/t_exit.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud