mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-25 02:51:44 +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();
|
||||
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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user