Hide debug prompt if buffer starts with /

master
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;
prefix = "* "; suffix = " ";
rest.attr |= A_ITALIC;
} else if (id == Debug) {
} else if (id == Debug && buf[0] != '/') {
skip = buf;
init.fg = Gray;
prompt = "<< ";