diff options
Diffstat (limited to 'src/app.rs')
-rw-r--r-- | src/app.rs | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1042,7 +1042,10 @@ impl<'ctx> AppState<'ctx> { | |||
1042 | Keycode::Up => self.command_box.hist_prev(), | 1042 | Keycode::Up => self.command_box.hist_prev(), |
1043 | Keycode::Down => self.command_box.hist_next(), | 1043 | Keycode::Down => self.command_box.hist_next(), |
1044 | Keycode::Return => self.eval_command(), | 1044 | Keycode::Return => self.eval_command(), |
1045 | Keycode::Tab => self.command_box.complete_next(&self.lisp_env), | 1045 | Keycode::Tab if keymod == Mod::LSHIFTMOD => { |
1046 | self.command_box.complete(&self.lisp_env, true) | ||
1047 | } | ||
1048 | Keycode::Tab => self.command_box.complete(&self.lisp_env, false), | ||
1046 | Keycode::Escape => { | 1049 | Keycode::Escape => { |
1047 | self.command_box.clear(); | 1050 | self.command_box.clear(); |
1048 | self.message.text.clear(); | 1051 | self.message.text.clear(); |