summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/setbuffer.c
diff options
context:
space:
mode:
authordumbbell <dumbbell@FreeBSD.org>2014-11-22 16:55:55 +0000
committerdumbbell <dumbbell@FreeBSD.org>2014-11-22 16:55:55 +0000
commit67ea82037affc090649d9f584fbdcce9a58ba367 (patch)
treea13336b331006c25cfb994c448d5dc37b5a3dc65 /lib/libc/stdio/setbuffer.c
parent93517beb67d09e1304b71d2363cfbe7c9857e45a (diff)
downloadFreeBSD-src-67ea82037affc090649d9f584fbdcce9a58ba367.zip
FreeBSD-src-67ea82037affc090649d9f584fbdcce9a58ba367.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 of: r273932
Diffstat (limited to 'lib/libc/stdio/setbuffer.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud