|
|
|
|
@ -836,7 +836,9 @@ namespace eval punk::console {
|
|
|
|
|
} |
|
|
|
|
#write before console enableRaw vs after?? |
|
|
|
|
#There seem to be problems (e.g on WSL) if we write too early - the output ends up on screen but we don't read it |
|
|
|
|
if {[info exists $::env(TMUX)]} { |
|
|
|
|
|
|
|
|
|
#zellij? screen? |
|
|
|
|
if {[info exists ::env(TMUX)]} { |
|
|
|
|
set query "\x1bPtmux\;[string map [list \x1b \x1b\x1b] $query]\x1b\\" |
|
|
|
|
} |
|
|
|
|
puts -nonewline $output $query;flush $output |
|
|
|
|
|