aboutsummaryrefslogtreecommitdiff
path: root/payloads/libpayload/curses/PDCurses-3.4/pdcurses/termattr.c
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/libpayload/curses/PDCurses-3.4/pdcurses/termattr.c')
-rw-r--r--payloads/libpayload/curses/PDCurses-3.4/pdcurses/termattr.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/payloads/libpayload/curses/PDCurses-3.4/pdcurses/termattr.c b/payloads/libpayload/curses/PDCurses-3.4/pdcurses/termattr.c
index 06e9ee856e..f25ee95e03 100644
--- a/payloads/libpayload/curses/PDCurses-3.4/pdcurses/termattr.c
+++ b/payloads/libpayload/curses/PDCurses-3.4/pdcurses/termattr.c
@@ -25,16 +25,16 @@ RCSID("$Id: termattr.c,v 1.54 2008/07/13 16:08:18 wmcbrine Exp $")
char wordchar(void);
Description:
- baudrate() is supposed to return the output speed of the
+ baudrate() is supposed to return the output speed of the
terminal. In PDCurses, it simply returns INT_MAX.
- has_ic and has_il() return TRUE. These functions have meaning in
+ has_ic and has_il() return TRUE. These functions have meaning in
some other implementations of curses.
- erasechar() and killchar() return ^H and ^U, respectively -- the
- ERASE and KILL characters. In other curses implementations,
- these may vary by terminal type. erasewchar() and killwchar()
- are the wide-character versions; they take a pointer to a
+ erasechar() and killchar() return ^H and ^U, respectively -- the
+ ERASE and KILL characters. In other curses implementations,
+ these may vary by terminal type. erasewchar() and killwchar()
+ are the wide-character versions; they take a pointer to a
location in which to store the character, and return OK or ERR.
longname() returns a pointer to a static area containing a
@@ -48,8 +48,8 @@ RCSID("$Id: termattr.c,v 1.54 2008/07/13 16:08:18 wmcbrine Exp $")
termattrs() returns a logical OR of all video attributes
supported by the terminal.
- wordchar() is a PDCurses extension of the concept behind the
- functions erasechar() and killchar(), returning the "delete
+ wordchar() is a PDCurses extension of the concept behind the
+ functions erasechar() and killchar(), returning the "delete
word" character, ^W.
Portability X/Open BSD SYS V
@@ -131,7 +131,7 @@ attr_t term_attrs(void)
{
PDC_LOG(("term_attrs() - called\n"));
- return WA_BLINK | WA_BOLD | WA_INVIS | WA_LEFT | WA_REVERSE |
+ return WA_BLINK | WA_BOLD | WA_INVIS | WA_LEFT | WA_REVERSE |
WA_RIGHT | WA_UNDERLINE;
}