URL: <https://savannah.gnu.org/bugs/?56063>
Summary: pass through of escape codes to the terminal Project: GNU Screen Submitted by: None Submitted on: Tue 02 Apr 2019 08:46:45 PM UTC Category: Feature Request Severity: 3 - Normal Priority: 5 - Normal Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any Release: None Fixed Release: None Planned Release: None Work Required: None _______________________________________________________ Details: I would like to have the possibility to pass escape codes unhandled through screen to the terminal. for tmux the escape characters in the original escape codes have to be doubled. '\033Ptmux;' is prepended to the string and '\033\\' (ESC \) is appended. This would allow me to let the terminal handle sixel graphics but I think there are many more use cases for it. regular sixel code: printf '\033Pq#0;2;0;0;0#1;2;100;100;0#2;2;0;100;0#1~~@@vv@@~~@@~~$#2??}}GG}}??}}??-#1!14@\033\\' sixel code wrapped for tmux - tmux will pass it through to the terminal: printf '\033Ptmux;\033\033Pq#0;2;0;0;0#1;2;100;100;0#2;2;0;100;0#1~~@@vv@@~~@@~~$#2??}}GG}}??}}??-#1!14@\033\033\\\033\\' printf '\033Pq#0;2;0;0;0#1;2;100;100;0#2;2;0;100;0#1~~@@vv@@~~@@~~$#2??}}GG}}??}}??-#1!14@\033\\' | sed 's/\o033/&&/g;s/^/\o033Ptmux;/;s/$/\o033\\/' _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?56063> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/