[Bug 194421] [vt] output still messy and discontinuous.

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Nov 1 17:05:43 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194421

--- Comment #4 from commit-hook at freebsd.org ---
A commit references this bug:

Author: dumbbell
Date: Sat Nov  1 17:05:17 UTC 2014
New revision: 273932
URL: https://svnweb.freebsd.org/changeset/base/273932

Log:
  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

Changes:
  head/sys/dev/vt/vt_buf.c
  head/sys/dev/vt/vt_core.c
  head/sys/kern/subr_terminal.c
  head/sys/sys/terminal.h

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list