mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Removed ui_readline()
This commit is contained in:
parent
17488ca346
commit
4c42ce9701
@ -108,7 +108,7 @@ prof_run(char *log_level, char *account_name)
|
|||||||
log_stderr_handler();
|
log_stderr_handler();
|
||||||
_check_autoaway();
|
_check_autoaway();
|
||||||
|
|
||||||
line = ui_readline();
|
line = inp_readline();
|
||||||
if (line) {
|
if (line) {
|
||||||
ProfWin *window = wins_get_current();
|
ProfWin *window = wins_get_current();
|
||||||
cont = cmd_process_input(window, line);
|
cont = cmd_process_input(window, line);
|
||||||
|
@ -185,12 +185,6 @@ ui_close(void)
|
|||||||
endwin();
|
endwin();
|
||||||
}
|
}
|
||||||
|
|
||||||
char*
|
|
||||||
ui_readline(void)
|
|
||||||
{
|
|
||||||
return inp_readline();
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
void
|
||||||
ui_page_up(void)
|
ui_page_up(void)
|
||||||
{
|
{
|
||||||
|
@ -40,7 +40,6 @@
|
|||||||
#define INP_WIN_MAX 1000
|
#define INP_WIN_MAX 1000
|
||||||
|
|
||||||
void create_input_window(void);
|
void create_input_window(void);
|
||||||
char* inp_readline(void);
|
|
||||||
void inp_nonblocking(gboolean reset);
|
void inp_nonblocking(gboolean reset);
|
||||||
void inp_close(void);
|
void inp_close(void);
|
||||||
void inp_win_clear(void);
|
void inp_win_clear(void);
|
||||||
|
@ -85,6 +85,8 @@ void chatwin_outgoing_carbon(ProfChatWin *chatwin, const char *const message);
|
|||||||
void chatwin_contact_online(ProfChatWin *chatwin, Resource *resource, GDateTime *last_activity);
|
void chatwin_contact_online(ProfChatWin *chatwin, Resource *resource, GDateTime *last_activity);
|
||||||
void chatwin_contact_offline(ProfChatWin *chatwin, char *resource, char *status);
|
void chatwin_contact_offline(ProfChatWin *chatwin, char *resource, char *status);
|
||||||
|
|
||||||
|
char* inp_readline(void);
|
||||||
|
|
||||||
void ui_handle_otr_error(const char *const barejid, const char *const message);
|
void ui_handle_otr_error(const char *const barejid, const char *const message);
|
||||||
|
|
||||||
unsigned long ui_get_idle_time(void);
|
unsigned long ui_get_idle_time(void);
|
||||||
@ -228,7 +230,6 @@ void ui_update_presence(const resource_presence_t resource_presence,
|
|||||||
const char *const message, const char *const show);
|
const char *const message, const char *const show);
|
||||||
void ui_statusbar_new(const int win);
|
void ui_statusbar_new(const int win);
|
||||||
|
|
||||||
char* ui_readline(void);
|
|
||||||
void ui_input_clear(void);
|
void ui_input_clear(void);
|
||||||
void ui_input_nonblocking(gboolean);
|
void ui_input_nonblocking(gboolean);
|
||||||
void ui_write(char *line, int offset);
|
void ui_write(char *line, int offset);
|
||||||
|
@ -313,7 +313,7 @@ void ui_update_presence(const resource_presence_t resource_presence,
|
|||||||
const char * const message, const char * const show) {}
|
const char * const message, const char * const show) {}
|
||||||
void ui_statusbar_new(const int win) {}
|
void ui_statusbar_new(const int win) {}
|
||||||
|
|
||||||
char* ui_readline(void)
|
char* inp_readline(void)
|
||||||
{
|
{
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user