summaryrefslogtreecommitdiffstats
path: root/include/exec
diff options
context:
space:
mode:
authorOGAWA Hirofumi2015-10-19 14:23:10 +0200
committerGerd Hoffmann2015-11-03 10:12:45 +0100
commit615220ddaf23db4c5686053257c568b46967e4b5 (patch)
tree64b70925697c9aee0896cc81c3986679bbd16e67 /include/exec
parentMerge remote-tracking branch 'remotes/armbru/tags/pull-qapi-2015-11-02' into ... (diff)
downloadqemu-615220ddaf23db4c5686053257c568b46967e4b5.tar.gz
qemu-615220ddaf23db4c5686053257c568b46967e4b5.tar.xz
qemu-615220ddaf23db4c5686053257c568b46967e4b5.zip
ui/curses: Fix monitor color with -curses when 256 colors
If TERM=xterm-256color, COLOR_PAIRS==256 and monitor passes chtype like 0x74xx. Then, the code uses uninitialized color pair. As result, monitor uses black for both of fg and bg color, i.e. terminal is filled by black. To fix, this initialize above than 64 with default color (fg=white,bg=black). FIXME: on 256 color, curses may be possible better vga color emulation. Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions