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 | |
parent | 5ede25dc37ceb192032524ac9200bb1ca95e5863 (diff) | |
parent | f5734f2bf14212cda4455065222c0593004020bf (diff) |
Merge branch 'main' of https://github.com/zellij-org/zellij into tab-layout
Diffstat (limited to 'zellij-client')
-rw-r--r-- | zellij-client/Cargo.toml | 5 | ||||
-rw-r--r-- | zellij-client/src/lib.rs | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/zellij-client/Cargo.toml b/zellij-client/Cargo.toml index 5a2e314a3..b9edb0ad1 100644 --- a/zellij-client/Cargo.toml +++ b/zellij-client/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "zellij-client" -version = "0.15.0" +version = "0.16.0" authors = ["Kunal Mohan <kunalmohan99@gmail.com>"] edition = "2018" description = "The client-side library for Zellij" @@ -11,7 +11,8 @@ license = "MIT" [dependencies] mio = "0.7.11" termbg = "0.2.3" -zellij-utils = { path = "../zellij-utils/", version = "0.15.0" } +zellij-utils = { path = "../zellij-utils/", version = "0.16.0" } +log = "0.4.14" [dev-dependencies] insta = "1.6.0" 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(); |