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/app/input/navigate.rs | |
| parent | 5d7e56737ef30d9de5802b0684a9428c40131dda (diff) | |
feat: add native windows beta support
Diffstat (limited to 'src/app/input/navigate.rs')
| -rw-r--r-- | src/app/input/navigate.rs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/app/input/navigate.rs b/src/app/input/navigate.rs index 8dacc5c9..9d861f66 100644 --- a/src/app/input/navigate.rs +++ b/src/app/input/navigate.rs @@ -988,12 +988,15 @@ fn shell_quote(value: &str) -> String { #[cfg(test)] mod tests { + #[cfg(unix)] use std::time::Duration; use crossterm::event::{KeyCode, KeyEvent, KeyModifiers}; use ratatui::layout::Direction; - use super::super::{state_with_workspaces, unique_temp_path, wait_for_file}; + #[cfg(unix)] + use super::super::wait_for_file; + use super::super::{state_with_workspaces, unique_temp_path}; use super::*; use crate::{ app::App, config::Config, input::TerminalKey, terminal::TerminalState, workspace::Workspace, @@ -1897,6 +1900,7 @@ last_pane = "prefix+tab" assert_eq!(state.workspaces.len(), 2); } + #[cfg(unix)] #[tokio::test] async fn custom_command_runs_from_prefix_key_in_navigate_mode() { let (_api_tx, api_rx) = tokio::sync::mpsc::unbounded_channel(); @@ -1946,6 +1950,7 @@ last_pane = "prefix+tab" let _ = std::fs::remove_file(output_path); } + #[cfg(unix)] #[tokio::test] async fn pane_overlay_command_opens_and_closes_after_exit() { let (_api_tx, api_rx) = tokio::sync::mpsc::unbounded_channel(); @@ -2033,6 +2038,7 @@ last_pane = "prefix+tab" } } + #[cfg(unix)] #[tokio::test] async fn edit_scrollback_key_opens_focused_runtime_scrollback_in_editor_pane() { let (_api_tx, api_rx) = tokio::sync::mpsc::unbounded_channel(); |
