mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
Add missing cases to readline loop
Handle all readline commands in our switch.
This commit is contained in:
parent
2c56e27d37
commit
6aba28ad3d
1 changed files with 13 additions and 0 deletions
|
@ -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 a new issue