diff options
-rw-r--r-- | src/fe-text/term-curses.c | 2 | ||||
-rw-r--r-- | src/fe-text/term-terminfo.c | 2 | ||||
-rw-r--r-- | src/fe-text/term.h | 2 | ||||
-rw-r--r-- | src/fe-text/terminfo-core.c | 4 | ||||
-rw-r--r-- | src/fe-text/terminfo-core.h | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/src/fe-text/term-curses.c b/src/fe-text/term-curses.c index 71406c76..e776e9c9 100644 --- a/src/fe-text/term-curses.c +++ b/src/fe-text/term-curses.c @@ -308,7 +308,7 @@ void term_move(TERM_WINDOW *window, int x, int y) wmove(window->win, y, x); } -void term_addch(TERM_WINDOW *window, int chr) +void term_addch(TERM_WINDOW *window, char chr) { waddch(window->win, chr); } diff --git a/src/fe-text/term-terminfo.c b/src/fe-text/term-terminfo.c index f364e76b..4b1b2bb8 100644 --- a/src/fe-text/term-terminfo.c +++ b/src/fe-text/term-terminfo.c @@ -385,7 +385,7 @@ static void term_printed_text(int count) cforcemove = TRUE; } -void term_addch(TERM_WINDOW *window, int chr) +void term_addch(TERM_WINDOW *window, char chr) { if (term_detached) return; diff --git a/src/fe-text/term.h b/src/fe-text/term.h index b5103c14..8d109db4 100644 --- a/src/fe-text/term.h +++ b/src/fe-text/term.h @@ -66,7 +66,7 @@ void term_window_scroll(TERM_WINDOW *window, int count); void term_set_color(TERM_WINDOW *window, int col); void term_move(TERM_WINDOW *window, int x, int y); -void term_addch(TERM_WINDOW *window, int chr); +void term_addch(TERM_WINDOW *window, char chr); void term_add_unichar(TERM_WINDOW *window, unichar chr); void term_addstr(TERM_WINDOW *window, const char *str); void term_clrtoeol(TERM_WINDOW *window); diff --git a/src/fe-text/terminfo-core.c b/src/fe-text/terminfo-core.c index 02f5659e..636e9487 100644 --- a/src/fe-text/terminfo-core.c +++ b/src/fe-text/terminfo-core.c @@ -289,13 +289,13 @@ static void _clrtoeol(TERM_REC *term) } /* Repeat character (rep / rp) */ -static void _repeat(TERM_REC *term, int chr, int count) +static void _repeat(TERM_REC *term, char chr, int count) { tput(tparm(term->TI_rep, chr, count)); } /* Repeat character (manual) */ -static void _repeat_manual(TERM_REC *term, int chr, int count) +static void _repeat_manual(TERM_REC *term, char chr, int count) { while (count > 0) { putc(chr, term->out); diff --git a/src/fe-text/terminfo-core.h b/src/fe-text/terminfo-core.h index 34f7b70e..9e2b76d5 100644 --- a/src/fe-text/terminfo-core.h +++ b/src/fe-text/terminfo-core.h @@ -30,7 +30,7 @@ struct _TERM_REC { void (*clear)(TERM_REC *term); void (*clrtoeol)(TERM_REC *term); - void (*repeat)(TERM_REC *term, int chr, int count); + void (*repeat)(TERM_REC *term, char chr, int count); void (*set_fg)(TERM_REC *term, int color); void (*set_bg)(TERM_REC *term, int color); |