diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2009-07-14 06:30:45 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2009-07-14 06:30:45 +0000 |
commit | ceace9c6bdbbdf8970b84517b78ee44869596287 (patch) | |
tree | 49f0c97ca87478afe10defd3edd77d09ab858575 | |
parent | 5f108d9df6bada119def52518152a487f8695702 (diff) | |
download | rtmux-ceace9c6bdbbdf8970b84517b78ee44869596287.tar.gz rtmux-ceace9c6bdbbdf8970b84517b78ee44869596287.tar.bz2 rtmux-ceace9c6bdbbdf8970b84517b78ee44869596287.zip |
Since tmux doesn't actually need ncurses, use -lcurses/curses.h
instead. Pointed out by millert a while ago.
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | tty-term.c | 8 |
2 files changed, 5 insertions, 5 deletions
@@ -38,7 +38,7 @@ CDIAGFLAGS+= -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations CDIAGFLAGS+= -Wwrite-strings -Wshadow -Wpointer-arith -Wsign-compare CDIAGFLAGS+= -Wundef -Wbad-function-cast -Winline -Wcast-align -LDADD= -lutil -lncurses +LDADD= -lutil -lcurses DPADD= ${LIBUTIL} .include <bsd.prog.mk> @@ -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) { |