From df449a85376bbeec87215952d6a9196721f7132e Mon Sep 17 00:00:00 2001 From: Jack Wills <32690432+mrjackwills@users.noreply.github.com> Date: Fri, 24 May 2024 21:44:16 +0000 Subject: [PATCH] docs: exec not available on windows --- README.md | 2 +- src/ui/draw_blocks.rs | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 23ef5d5..e492a62 100644 --- a/README.md +++ b/README.md @@ -101,7 +101,7 @@ In application controls | ```( enter )```| Run selected docker command.| | ```( 1-9 )``` | Sort containers by heading, clicking on headings also sorts the selected column. | | ```( 0 )``` | Stop sorting.| -| ```( e )``` | Exec into the selected container.| +| ```( e )``` | Exec into the selected container - not available on Windows.| | ```( h )``` | Toggle help menu.| | ```( m )``` | Toggle mouse capture - if disabled, text on screen can be selected.| | ```( q )``` | Quit.| diff --git a/src/ui/draw_blocks.rs b/src/ui/draw_blocks.rs index 44f9abf..f2d0b60 100644 --- a/src/ui/draw_blocks.rs +++ b/src/ui/draw_blocks.rs @@ -681,6 +681,8 @@ impl HelpInfo { space(), button_item("e"), button_desc("exec into a container"), + #[cfg(target_os = "windows")] + button_desc(" - not available on Windows"), ]), Line::from(vec![ space(),