From c028ba76b9b80ae81939e5f04874fdfa9d7f57d5 Mon Sep 17 00:00:00 2001 From: Ralf Grubenmann Date: Fri, 25 Sep 2026 09:53:52 +0200 Subject: [PATCH] fix: properly print interactive session details on start --- src/httpclient/data.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/httpclient/data.rs b/src/httpclient/data.rs index 29c92be..b2ef005 100644 --- a/src/httpclient/data.rs +++ b/src/httpclient/data.rs @@ -283,7 +283,11 @@ pub struct SessionStartResponse { impl fmt::Display for SessionStartResponse { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { - let table = create_session_table(vec![self]); + let table = match self.session_type { + SessionMode::Interactive => create_interactive_session_table(vec![self]), + SessionMode::NonInteractive => create_session_table(vec![self]), + SessionMode::App => create_interactive_session_table(vec![self]), + }; write!(f, "{}", table) } }