Hide debug prompt if buffer starts with /

weechat-hashes
C. McEnroe 2020-02-12 19:36:26 -05:00
parent be08880fac
commit 7285906298
1 changed files with 1 additions and 1 deletions

2
ui.c
View File

@ -675,7 +675,7 @@ static void inputUpdate(void) {
init.attr |= A_ITALIC; init.attr |= A_ITALIC;
prefix = "* "; suffix = " "; prefix = "* "; suffix = " ";
rest.attr |= A_ITALIC; rest.attr |= A_ITALIC;
} else if (id == Debug) { } else if (id == Debug && buf[0] != '/') {
skip = buf; skip = buf;
init.fg = Gray; init.fg = Gray;
prompt = "<< "; prompt = "<< ";