Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/ChrisFeldmeier/OpenCodeRust
/ current_route
Method
current_route
crates/opencode-tui/src/context/app_context.rs:167–169 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
165
}
166
167
pub fn current_route(&self) -> crate::router::Route {
168
self.router.read().current().clone()
169
}
170
171
pub fn toggle_sidebar(&self) {
172
let mut sidebar = self.show_sidebar.write();
Callers
8
current_session_status
Method · 0.80
handle_event
Method · 0.80
current_session_id
Method · 0.80
submit_prompt
Method · 0.80
submit_shell_command
Method · 0.80
refresh_status_dialog
Method · 0.80
sync_prompt_spinner_state
Method · 0.80
draw
Method · 0.80
Calls
3
read
Method · 0.80
clone
Method · 0.45
current
Method · 0.45
Tested by
no test coverage detected