summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/window-buffer.c
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2020-05-16 11:07:54 +0000
committerjsg <jsg@openbsd.org>2020-05-16 11:07:54 +0000
commitcfd08bd2aff03f1e6e84394a64f294d8eb3517a7 (patch)
treeeac5f5a7efd2347e202cf728d0dd0c232a0944ac /usr.bin/tmux/window-buffer.c
parentUse softintr to call selwakeup() in the mixer code code-path (diff)
downloadwireguard-openbsd-cfd08bd2aff03f1e6e84394a64f294d8eb3517a7.tar.xz
wireguard-openbsd-cfd08bd2aff03f1e6e84394a64f294d8eb3517a7.zip
Don't attempt to reset the state of the flip-flop associated with the
vga attribute controller index or set the enable/'palette address source' bit when saving and restoring 256 colour vga palette with 0x3c6-0x3c9 as this does not touch the attribute registers. When this code was ported from FreeBSD in vga.c rev 1.48 the flip-flop reset parts were mistakenly made to read 0x3ca instead of 0x3da. Fixes a problem with VirtualBox where the text mode background was a dim red colour instead of black after VT switch. Problem reported by and patch from John Carmack. ok matthieu@ who notes this also fixes a similiar problem with a KVM / virt-manager virtual machine.
Diffstat (limited to 'usr.bin/tmux/window-buffer.c')
0 files changed, 0 insertions, 0 deletions