Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ChrisFeldmeier/OpenCodeRust
/ exit_shell_mode
Method
exit_shell_mode
crates/opencode-tui/src/components/prompt.rs:565–567 ·
view source on GitHub ↗
(&mut self)
Source
from the content-addressed store, hash-verified
563
}
564
565
pub fn exit_shell_mode(&mut self) {
566
self.mode = PromptMode::Normal;
567
}
568
569
pub fn register_interrupt_keypress(&mut self) -> bool {
570
if self.interrupt_confirmation_active() {
Callers
1
handle_event
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected