1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-02 15:53:12 +02:00

Add new option weechat.look.search_text_not_found_alert

This commit is contained in:
Sebastien Helleu
2009-07-22 18:07:22 +02:00
parent 232804f293
commit 5139fdcf2a
13 changed files with 61 additions and 11 deletions
+7
View File
@@ -889,7 +889,14 @@ gui_window_search_restart (struct t_gui_window *window)
if (gui_window_search_text (window))
window->buffer->text_search_found = 1;
else
{
if (CONFIG_BOOLEAN(config_look_search_text_not_found_alert)
&& window->buffer->input_buffer && window->buffer->input_buffer[0])
{
printf ("\a");
}
gui_buffer_ask_chat_refresh (window->buffer, 2);
}
}
/*