1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

Removed inp_get_next_char() from input_win.c

This commit is contained in:
James Booth 2013-01-06 00:28:15 +00:00
parent b32f58e22c
commit 82ce22ac9d
2 changed files with 1 additions and 8 deletions

View File

@ -250,12 +250,6 @@ inp_put_back(void)
prefresh(inp_win, 0, pad_start, rows-1, 0, rows-1, cols-1);
}
int
inp_get_next_char(void)
{
return wgetch(inp_win);
}
void
inp_replace_input(char *input, const char * const new_input, int *size)
{
@ -293,7 +287,7 @@ _handle_edit(const wint_t ch, char *input, int *size)
case 27: // ESC
// check for ALT-num
next_ch = inp_get_next_char();
next_ch = wgetch(inp_win);
if (next_ch != ERR) {
switch (next_ch)
{

View File

@ -179,7 +179,6 @@ void inp_non_block(void);
void inp_block(void);
void inp_get_password(char *passwd);
void inp_replace_input(char *input, const char * const new_input, int *size);
int inp_get_next_char(void);
void notify_remind(void);
#endif