Skip to content

Commit 2f65934

Browse files
sinelawclaude
andcommitted
Allow Open Terminal command when already in terminal mode
- Add KeyContext::Terminal to Open Terminal command contexts - Remove redundant Close Terminal command (tabs handle this) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent c99ded1 commit 2f65934

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/input/commands.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -977,14 +977,6 @@ pub fn get_all_commands() -> Vec<Command> {
977977
name: "Open Terminal".to_string(),
978978
description: "Open a new terminal in the current split".to_string(),
979979
action: Action::OpenTerminal,
980-
contexts: vec![KeyContext::Normal],
981-
custom_contexts: vec![],
982-
source: CommandSource::Builtin,
983-
},
984-
Command {
985-
name: "Close Terminal".to_string(),
986-
description: "Close the current terminal".to_string(),
987-
action: Action::CloseTerminal,
988980
contexts: vec![KeyContext::Normal, KeyContext::Terminal],
989981
custom_contexts: vec![],
990982
source: CommandSource::Builtin,

0 commit comments

Comments
 (0)