mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 23:19:00 +00:00
Bug fixed:
when refreshing standouted line curses outputs SO for all characters Submitted by: ZW6T-KND@j.asahi-net.or.jp
This commit is contained in:
parent
6052587146
commit
53e1aa653e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=2543
@ -337,8 +337,8 @@ makech(win, wy)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Enter/exit standout mode as appropriate. */
|
/* Enter/exit standout mode as appropriate. */
|
||||||
if (SO && (nsp->attr & __STANDOUT) !=
|
if (SO && !(nsp->attr & __STANDOUT) !=
|
||||||
(curscr->flags & __WSTANDOUT)) {
|
!(curscr->flags & __WSTANDOUT)) {
|
||||||
if (nsp->attr & __STANDOUT) {
|
if (nsp->attr & __STANDOUT) {
|
||||||
tputs(SO, 0, __cputchar);
|
tputs(SO, 0, __cputchar);
|
||||||
curscr->flags |= __WSTANDOUT;
|
curscr->flags |= __WSTANDOUT;
|
||||||
|
Loading…
Reference in New Issue
Block a user