mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-22 19:51:12 +08:00
Make "trying to match mapping" debug priority 4
Instantly makes debug output _much_ more usable.
This commit is contained in:
parent
d7ef7eb484
commit
cd16676911
@ -409,7 +409,7 @@ static bool input_mapping_is_match(const input_mapping_t &m) {
|
|||||||
wchar_t c = 0;
|
wchar_t c = 0;
|
||||||
int j;
|
int j;
|
||||||
|
|
||||||
debug(2, L"trying to match mapping %ls", escape_string(m.seq.c_str(), ESCAPE_ALL).c_str());
|
debug(4, L"trying to match mapping %ls", escape_string(m.seq.c_str(), ESCAPE_ALL).c_str());
|
||||||
const wchar_t *str = m.seq.c_str();
|
const wchar_t *str = m.seq.c_str();
|
||||||
for (j = 0; str[j] != L'\0'; j++) {
|
for (j = 0; str[j] != L'\0'; j++) {
|
||||||
bool timed = (j > 0 && iswcntrl(str[0]));
|
bool timed = (j > 0 && iswcntrl(str[0]));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user