iTerm2 does not reset OSC 4 palette
Hi George
Minor one - iTerm2 does not appear to reset the palette on RIS (\033c
) or when using the "Session->Terminal State->Reset" menu option. Try this:
printf '\033c\033]4;1;rgb:00/00/ff\033\\\033[31mabc'; sleep 2; printf '\033c\033[31mabc\033[m\n'
Should be blue (from the OSC 4) and then red (default for SGR 1).
Compare in xterm or Terminal.app.
Tested with 3.4.20210924-nightly.
Thanks