diff options
author | a-kenji <aks.kenji@protonmail.com> | 2021-07-23 17:24:45 +0200 |
---|---|---|
committer | a-kenji <aks.kenji@protonmail.com> | 2021-07-23 17:24:45 +0200 |
commit | 485339c58471664915776272f397e09c9a911d01 (patch) | |
tree | 904e2aa26d72ac3ea425e82e158d234f02567b24 /zellij-client/src | |
parent | 5ede25dc37ceb192032524ac9200bb1ca95e5863 (diff) | |
parent | f5734f2bf14212cda4455065222c0593004020bf (diff) |
Merge branch 'main' of https://github.com/zellij-org/zellij into tab-layout
Diffstat (limited to 'zellij-client/src')
-rw-r--r-- | zellij-client/src/lib.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/zellij-client/src/lib.rs b/zellij-client/src/lib.rs index 8bb595bc7..ec0c3c745 100644 --- a/zellij-client/src/lib.rs +++ b/zellij-client/src/lib.rs @@ -3,6 +3,7 @@ pub mod os_input_output; mod command_is_executing; mod input_handler; +use log::info; use std::env::current_exe; use std::io::{self, Write}; use std::path::Path; @@ -88,6 +89,7 @@ pub fn start_client( info: ClientInfo, layout: Option<MainLayout>, ) { + info!("Starting Zellij client!"); let clear_client_terminal_attributes = "\u{1b}[?1l\u{1b}=\u{1b}[r\u{1b}12l\u{1b}[?1000l\u{1b}[?1002l\u{1b}[?1003l\u{1b}[?1005l\u{1b}[?1006l\u{1b}[?12l"; let take_snapshot = "\u{1b}[?1049h"; let bracketed_paste = "\u{1b}[?2004h"; @@ -293,6 +295,7 @@ pub fn start_client( ); os_input.disable_mouse(); + info!("{}", exit_msg); os_input.unset_raw_mode(0); let mut stdout = os_input.get_stdout_writer(); let _ = stdout.write(goodbye_message.as_bytes()).unwrap(); |