getTmuxInstallInstructions method
Get tmux install instructions for the current platform.
Implementation
String getTmuxInstallInstructions() {
if (Platform.isMacOS) {
return 'Install tmux with: brew install tmux';
} else if (Platform.isLinux) {
return 'Install tmux with: sudo apt install tmux (Debian/Ubuntu) '
'or sudo dnf install tmux (Fedora/RHEL)';
} else if (Platform.isWindows) {
return 'tmux is not natively available on Windows. '
'Consider using WSL or Cygwin.';
}
return 'Install tmux using your system package manager.';
}