mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-28 20:34:07 +08:00
Add missing cases to readline loop
Handle all readline commands in our switch.
This commit is contained in:
parent
2c56e27d37
commit
6aba28ad3d
|
@ -3263,6 +3263,19 @@ maybe_t<wcstring> reader_data_t::readline(int nchars) {
|
||||||
reader_repaint_needed();
|
reader_repaint_needed();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Some commands should have been handled internally by input_readch().
|
||||||
|
case rl::R_SELF_INSERT: {
|
||||||
|
DIE("self-insert should have been handled by input_readch");
|
||||||
|
}
|
||||||
|
case rl::R_AND: {
|
||||||
|
DIE("self-insert should have been handled by input_readch");
|
||||||
|
}
|
||||||
|
case rl::R_VI_ARG_DIGIT:
|
||||||
|
case rl::R_VI_DELETE_TO: {
|
||||||
|
// TODO: what needs to happen with these?
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ordinary_char) {
|
if (ordinary_char) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user