021fc3a828
Route hook notifications through /dev/tty and client_tty so OSC reaches Ghostty when Cursor captures stdout. Add afterAgentResponse hook, hook logging, debounce, split test modes, and use directory name for titles. Co-authored-by: Cursor <cursoragent@cursor.com>
8 lines
131 B
Go
8 lines
131 B
Go
package tmux
|
|
|
|
import "os"
|
|
|
|
func IsSSHSession() bool {
|
|
return os.Getenv("SSH_CONNECTION") != "" || os.Getenv("SSH_CLIENT") != ""
|
|
}
|