summaryrefslogtreecommitdiff
path: root/src/gui/curses/gui-curses-input.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/curses/gui-curses-input.c')
-rw-r--r--src/gui/curses/gui-curses-input.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/gui/curses/gui-curses-input.c b/src/gui/curses/gui-curses-input.c
index fb715cf47..2c10a0d14 100644
--- a/src/gui/curses/gui-curses-input.c
+++ b/src/gui/curses/gui-curses-input.c
@@ -79,7 +79,12 @@ gui_input_get_prompt_length (t_gui_window *window, char *nick)
int char_size, length;
if (window->buffer->text_search != TEXT_SEARCH_DISABLED)
- return utf8_width_screen (_("Text search: "));
+ {
+ if (window->buffer->text_search_exact)
+ return utf8_width_screen (_("Text search (exact): "));
+ else
+ return utf8_width_screen (_("Text search: "));
+ }
length = 0;
pos = cfg_look_input_format;
@@ -161,7 +166,8 @@ gui_input_draw_prompt (t_gui_window *window, char *nick)
gui_window_set_weechat_color (GUI_CURSES(window)->win_input,
COLOR_WIN_INPUT);
wprintw (GUI_CURSES(window)->win_input, "%s",
- _("Text search: "));
+ (window->buffer->text_search_exact) ?
+ _("Text search (exact): ") : _("Text search: "));
return;
}