mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-24 01:11:15 -03:00
[clang-tidy] Use bool literals
Found with modernize-use-bool-literals Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
committed by
ridiculousfish
parent
c3fa8c04bf
commit
4087b2ee15
@@ -171,7 +171,7 @@ char_event_t input_event_queue_t::readch() {
|
||||
}
|
||||
wchar_t res;
|
||||
mbstate_t state = {};
|
||||
while (1) {
|
||||
while (true) {
|
||||
auto evt = readb();
|
||||
if (!evt.is_char()) {
|
||||
return evt;
|
||||
|
||||
Reference in New Issue
Block a user