Hide debug prompt if buffer starts with /
parent
be08880fac
commit
7285906298
2
ui.c
2
ui.c
|
@ -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 = "<< ";
|
||||||
|
|
Loading…
Reference in New Issue