From f42f8d325273ff4d387c966c8cdb57b0bf92d3e8 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sat, 19 Oct 2019 13:09:21 -0400 Subject: tweak watch ui --- src/cmd/watch.rs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/cmd/watch.rs b/src/cmd/watch.rs index 4666abc..284fc0e 100644 --- a/src/cmd/watch.rs +++ b/src/cmd/watch.rs @@ -521,7 +521,15 @@ impl idle_width, watch_width, ); - println!("{}\r", "-".repeat(sessions.size().cols as usize)); + println!( + "{}+{}+{}+{}+{}+{}\r", + "-".repeat(char_width + 1), + "-".repeat(name_width + 2), + "-".repeat(size_width + 2), + "-".repeat(idle_width + 2), + "-".repeat(watch_width + 2), + "-".repeat(max_title_width + 1) + ); let mut prev_name: Option<&str> = None; for (c, session) in sessions.visible_sessions_with_chars() { -- cgit v1.2.3-54-g00ecf