projects
/
unix-history
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
added code for terminals with underline glitch, changed -d messages, a few minor...
[unix-history]
/
usr
/
src
/
lib
/
libcurses
/
standout.c
/*
* routines dealing with entering and exiting standout mode
*
* %G% (Berkeley) @(#)standout.c 1.1
*/
# include
"curses.ext"
/*
* enter standout mode
*/
char
*
wstandout
(
win
)
reg WINDOW
*
win
;
{
if
(!
SO
&& !
UC
)
return
FALSE
;
win
->
_flags
|=
_STANDOUT
;
return
(
SO
?
SO
:
UC
);
}
/*
* exit standout mode
*/
char
*
wstandend
(
win
)
reg WINDOW
*
win
;
{
if
(!
SO
&& !
UC
)
return
FALSE
;
win
->
_flags
&= ~
_STANDOUT
;
return
(
SE
?
SE
:
UC
);
}