diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-07-14 06:47:12 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-07-14 06:47:12 +0000 |
commit | edd3142d1f35d92347e432094f853235337de140 (patch) | |
tree | 5937cf78797374afb84ef755c22bebd781b1d1a2 /tty-term.c | |
parent | 097b96ea44d5a09ac1f3553f1789ef6e932a9eba (diff) | |
download | rtmux-edd3142d1f35d92347e432094f853235337de140.tar.gz rtmux-edd3142d1f35d92347e432094f853235337de140.tar.bz2 rtmux-edd3142d1f35d92347e432094f853235337de140.zip |
Don't need ncurses, use curses.
Diffstat (limited to 'tty-term.c')
-rw-r--r-- | tty-term.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1,4 +1,4 @@ -/* $Id: tty-term.c,v 1.21 2009-06-25 16:47:00 nicm Exp $ */ +/* $OpenBSD: tty-term.c,v 1.3 2009/07/14 06:30:45 nicm Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net> @@ -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) { |