From 421aa82ebde080ee62411675f5efa1a1857a2b32 Mon Sep 17 00:00:00 2001 From: Jack Wills <32690432+mrjackwills@users.noreply.github.com> Date: Fri, 29 Apr 2022 01:11:20 +0000 Subject: [PATCH] feat: help box "m" explanation --- Cargo.toml | 2 +- src/ui/draw_blocks.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 59fce02..a26aed7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,7 +19,7 @@ parking_lot = {version= "0.12.0"} tokio = {version = "1.17.0", features=["full"]} tracing = "0.1.32" tracing-subscriber = "0.3.9" -tui = "0.17" +tui = "0.18" [dev-dependencies] diff --git a/src/ui/draw_blocks.rs b/src/ui/draw_blocks.rs index 1a0b2bb..3d492b2 100644 --- a/src/ui/draw_blocks.rs +++ b/src/ui/draw_blocks.rs @@ -476,6 +476,7 @@ pub fn draw_help_box(f: &mut Frame<'_, B>) { description_text.push_str("\n Tab or Alt+Tab to change panels, arrows to change lines, enter to send docker container commands."); description_text.push_str("\n Mouse input also available."); description_text.push_str("\n ( q ) to quit at any time."); + description_text.push_str("\n ( m ) to toggle mouse capture. When disabled, text on screen can be selected & copied, but mouse clicks get disabled"); description_text .push_str("\n\n currenty an early work in progress, all and any input appreciated"); description_text.push_str(format!("\n {}", REPO.trim()).as_str());