Fix tmux popup title flag for service logs feature
All checks were successful
Build and Release / build-and-release (push) Successful in 1m47s
All checks were successful
Build and Release / build-and-release (push) Successful in 1m47s
Fix journalctl popup that was failing with 'can't find session' error: Issue Resolution: - Change tmux display-popup flag from -t to -T for setting popup title - -t flag was incorrectly trying to target a session named 'Logs: servicename' - -T flag correctly sets the popup window title The J key (Shift+j) service logs feature now works properly, opening an 80% tmux popup with journalctl -f for real-time log viewing. Bump version to v0.1.49
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "cm-dashboard"
|
||||
version = "0.1.48"
|
||||
version = "0.1.49"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
|
||||
@@ -301,7 +301,7 @@ ssh -tt {}@{} 'bash -ic {}'",
|
||||
.arg("80%")
|
||||
.arg("-h")
|
||||
.arg("80%")
|
||||
.arg("-t")
|
||||
.arg("-T")
|
||||
.arg(format!("Logs: {}", service_name))
|
||||
.arg(&journalctl_command)
|
||||
.spawn()
|
||||
|
||||
Reference in New Issue
Block a user