1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Renamed inp_get_char->inp_read

This commit is contained in:
James Booth 2015-01-15 23:46:54 +00:00
parent 51105720ab
commit f0ffc31cd6
3 changed files with 3 additions and 3 deletions

View File

@ -183,7 +183,7 @@ ui_readline(void)
int key_type; int key_type;
wint_t ch; wint_t ch;
char *line = inp_get_char(&key_type, &ch); char *line = inp_read(&key_type, &ch);
_win_handle_switch(ch); _win_handle_switch(ch);
ProfWin *current = wins_get_current(); ProfWin *current = wins_get_current();

View File

@ -136,7 +136,7 @@ inp_block(void)
} }
char * char *
inp_get_char(int *key_type, wint_t *ch) inp_read(int *key_type, wint_t *ch)
{ {
int display_size = 0; int display_size = 0;

View File

@ -36,7 +36,7 @@
#define UI_INPUTWIN_H #define UI_INPUTWIN_H
void create_input_window(void); void create_input_window(void);
char* inp_get_char(int *key_type, wint_t *ch); char* inp_read(int *key_type, wint_t *ch);
void inp_win_reset(void); void inp_win_reset(void);
void inp_win_resize(void); void inp_win_resize(void);
void inp_put_back(void); void inp_put_back(void);