Open sinewalker opened 1 month ago
I have tried this hack in iterm_terminal
but it still gets called. I'm probably overlooking something simple:
iterm_terminal() {
[[ "${TERM_PROGRAM}" =~ ^iTerm || "${LC_TERMINAL}" =~ ^iTerm || "${TERM_PROGRAM}" =~ ^vscode ]]
}
If I could work that out, then I'd make a PR.
If I could work that out, then I'd make a PR.
To clarify, what I've tried so far (unsuccessfully) is
true
true
iterm_terminal
on line 123, with true
(so if ! true
which is false, no?) — I thought that would at least stop it doing the set-window-option
on line 124?!
VSCode's built-in terminal emulator is based upon xterm-js, which does not understand the ANSI terminal reset commands. When starting with
set-window-option -g aggressive-resize on
, then the following in inserted at the start of the session, and also whenever the terminal is resized:Removing the setting from
sensible.tmux
resolves thisSimilar to #24