aboutsummaryrefslogtreecommitdiffstats
path: root/zellij-server/src
diff options
context:
space:
mode:
authorKunal Mohan <kunalmohan99@gmail.com>2021-05-29 00:32:06 +0530
committerKunal Mohan <kunalmohan99@gmail.com>2021-05-29 00:32:06 +0530
commit0bd05cbcb46d607079608bb83bdefba97bf7a764 (patch)
treed4abb52e544ec5afb8bc23c3ee770492d942ba72 /zellij-server/src
parentdocs(changelog): Fix lag #536 (diff)
downloadsl0ppij-0bd05cbcb46d607079608bb83bdefba97bf7a764.tar.gz
sl0ppij-0bd05cbcb46d607079608bb83bdefba97bf7a764.tar.xz
sl0ppij-0bd05cbcb46d607079608bb83bdefba97bf7a764.zip
Make session-name option in attach command
If only one session is running, attach to it. Otherwise list the active sessions (if any)
Diffstat (limited to 'zellij-server/src')
-rw-r--r--zellij-server/src/lib.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/zellij-server/src/lib.rs b/zellij-server/src/lib.rs
index 2f0389ef..b4036200 100644
--- a/zellij-server/src/lib.rs
+++ b/zellij-server/src/lib.rs
@@ -27,8 +27,7 @@ use crate::{
};
use route::route_thread_main;
use zellij_utils::{
- channels,
- channels::{ChannelWithContext, SenderWithContext},
+ channels::{self, ChannelWithContext, SenderWithContext},
cli::CliArgs,
errors::{ContextType, ErrorInstruction, ServerContext},
input::{get_mode_info, options::Options},