diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-06-07 00:07:24 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-06-07 16:29:44 +0300 |
| commit | 3c2b46d24aa6c8011a1e198143752f2aa414d585 (patch) | |
| tree | a52280bccc824ca656f8bc986a756f30901974e4 /src/ui | |
| parent | 5d7e56737ef30d9de5802b0684a9428c40131dda (diff) | |
feat: add native windows beta support
Diffstat (limited to 'src/ui')
| -rw-r--r-- | src/ui/mobile.rs | 1 | ||||
| -rw-r--r-- | src/ui/panes.rs | 5 | ||||
| -rw-r--r-- | src/ui/sidebar.rs | 1 |
3 files changed, 6 insertions, 1 deletions
diff --git a/src/ui/mobile.rs b/src/ui/mobile.rs index 9b400f51..3d6911ca 100644 --- a/src/ui/mobile.rs +++ b/src/ui/mobile.rs @@ -965,6 +965,7 @@ mod tests { assert_eq!(mobile_agent_detail(&entry), " idle ยท pi"); } + #[cfg(unix)] #[tokio::test] async fn mobile_header_uses_live_root_runtime_cwd_for_workspace_label() { let unique = format!( diff --git a/src/ui/panes.rs b/src/ui/panes.rs index 1be5782b..472dd4b1 100644 --- a/src/ui/panes.rs +++ b/src/ui/panes.rs @@ -289,7 +289,10 @@ pub(super) fn render_panes( frame.render_widget(block, info.rect); } - let show_cursor = info.is_focused && terminal_active && !pane_is_scrolled_back(rt); + let show_cursor = info.is_focused + && terminal_active + && !pane_is_scrolled_back(rt) + && app.pane_exposes_host_cursor(ws_idx, info.id); rt.render(frame, info.inner_rect, show_cursor); render_pane_scrollbar(app, frame, info, rt); diff --git a/src/ui/sidebar.rs b/src/ui/sidebar.rs index 7d1227df..085f4371 100644 --- a/src/ui/sidebar.rs +++ b/src/ui/sidebar.rs @@ -1286,6 +1286,7 @@ mod tests { assert_eq!(entries[1].agent_label.as_deref(), Some("claude")); } + #[cfg(unix)] #[tokio::test] async fn all_workspaces_agent_panel_entries_use_live_root_runtime_cwd_for_workspace_label() { let unique = format!( |
