summaryrefslogtreecommitdiffstats
path: root/tty-term.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-07-14 06:30:45 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-07-14 06:30:45 +0000
commitceace9c6bdbbdf8970b84517b78ee44869596287 (patch)
tree49f0c97ca87478afe10defd3edd77d09ab858575 /tty-term.c
parent5f108d9df6bada119def52518152a487f8695702 (diff)
Since tmux doesn't actually need ncurses, use -lcurses/curses.h
instead. Pointed out by millert a while ago.
Diffstat (limited to 'tty-term.c')
-rw-r--r--tty-term.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tty-term.c b/tty-term.c
index e7aced73..0f50a269 100644
--- a/tty-term.c
+++ b/tty-term.c
@@ -18,7 +18,7 @@
#include <sys/types.h>
-#include <ncurses.h>
+#include <curses.h>
#include <string.h>
#include <term.h>
@@ -183,7 +183,7 @@ tty_term_find(char *name, int fd, char **cause)
term->flags = 0;
SLIST_INSERT_HEAD(&tty_terms, term, entry);
- /* Set up ncurses terminal. */
+ /* Set up curses terminal. */
if (setupterm(name, fd, &error) != OK) {
switch (error) {
case 0:
@@ -237,7 +237,7 @@ tty_term_find(char *name, int fd, char **cause)
}
tty_term_quirks(term);
- /* Delete ncurses data. */
+ /* Delete curses data. */
del_curterm(cur_term);
/* These are always required. */
@@ -358,7 +358,7 @@ tty_term_string(struct tty_term *term, enum tty_code_code code)
return (term->codes[code].value.string);
}
-/* No vtparm. Fucking ncurses. */
+/* No vtparm. Fucking curses. */
const char *
tty_term_string1(struct tty_term *term, enum tty_code_code code, int a)
{