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

fix some stupidness

This commit is contained in:
Ailin Nemui 2022-02-06 00:41:13 +01:00
parent 5cd13d6ea2
commit d4ed3460fc

View File

@ -1036,27 +1036,37 @@ static void key_paste_start(void)
static void key_paste_cancel(void) static void key_paste_cancel(void)
{ {
if (paste_prompt) {
paste_flush(NULL); paste_flush(NULL);
}
} }
static void key_paste_print(void) static void key_paste_print(void)
{ {
if (paste_prompt) {
paste_print(); paste_print();
}
} }
static void key_paste_send(void) static void key_paste_send(void)
{ {
if (paste_prompt) {
paste_flush(paste_send); paste_flush(paste_send);
}
} }
static void key_paste_edit(void) static void key_paste_edit(void)
{ {
if (paste_prompt) {
paste_flush(paste_insert_edit); paste_flush(paste_insert_edit);
}
} }
static void key_paste_event(void) static void key_paste_event(void)
{ {
if (paste_prompt) {
paste_event(); paste_event();
}
} }
time_t get_idle_time(void) time_t get_idle_time(void)