diff options
Diffstat (limited to 'src/core/wee-command.c')
-rw-r--r-- | src/core/wee-command.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/wee-command.c b/src/core/wee-command.c index 91c3c068d..c76f4be92 100644 --- a/src/core/wee-command.c +++ b/src/core/wee-command.c @@ -1063,6 +1063,11 @@ COMMAND_CALLBACK(buffer) else { ptr_buffer = gui_buffer_search_by_full_name (argv_eol[2]); + if (!ptr_buffer) + { + ptr_buffer = gui_buffer_search_by_partial_name ( + NULL, argv_eol[2]); + } if (ptr_buffer) { if (ptr_buffer == weechat_buffer) |