Add reader flog category

For both input and reader, because the "reader" term is more general
and we don't have enough messages to justify multiple categories
This commit is contained in:
Fabian Homborg
2020-01-19 14:27:23 +01:00
parent a48926dee5
commit 8b1ac0912b
4 changed files with 6 additions and 3 deletions

View File

@@ -3311,7 +3311,7 @@ maybe_t<wcstring> reader_data_t::readline(int nchars_or_0) {
} else {
// This can happen if the user presses a control char we don't recognize. No
// reason to report this to the user unless they've enabled debugging output.
debug(2, _(L"Unknown key binding 0x%X"), c);
FLOGF(reader, _(L"Unknown key binding 0x%X"), c);
}
rls.last_cmd = none();
}