freebsd-dev/sys/dev/vt
Jean-Sébastien Pédron da49f6bcc3 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
2014-11-01 17:05:15 +00:00
..
colors
font vt(4): Rename the "mouse_cursor" structure to "vt_mouse_cursor" 2014-08-21 19:42:24 +00:00
hw vt(4): Use vt_fb_drawrect() and vt_fb_setpixel() in all vt_fb-derivative 2014-09-16 18:02:24 +00:00
logo Remove stray whitespaces. 2014-09-12 14:07:20 +00:00
vt_buf.c vt(4): Adjust the cursor position after changing the window size 2014-11-01 17:05:15 +00:00
vt_consolectl.c Remove stray whitespaces. 2014-09-12 14:07:20 +00:00
vt_core.c vt(4): Adjust the cursor position after changing the window size 2014-11-01 17:05:15 +00:00
vt_font.c
vt_sysmouse.c
vt.h vt(4): Save/restore keyboard mode & LED states when switching window 2014-10-02 16:36:37 +00:00