(State(state): State<Arc<ServerState>>)
| 3776 | } |
| 3777 | |
| 3778 | async fn open_help(State(state): State<Arc<ServerState>>) -> Result<Json<bool>> { |
| 3779 | enqueue_tui_request( |
| 3780 | &state, |
| 3781 | "/tui/open-help", |
| 3782 | serde_json::json!({ "command": "help.show" }), |
| 3783 | ) |
| 3784 | .await; |
| 3785 | Ok(Json(true)) |
| 3786 | } |
| 3787 | |
| 3788 | async fn open_sessions(State(state): State<Arc<ServerState>>) -> Result<Json<bool>> { |
| 3789 | enqueue_tui_request( |
nothing calls this directly
no test coverage detected