The ANSI escape response to get the screen colors has a colon, not a semicolon
I think the website needs a minor fix for the response to some of the proprietary ANSI codes.
- iTerm2 version: 3.4.5
- OS version: 10.15.3
- Attach ~/Library/Preferences/com.googlecode.iterm2.plist here (drag-drop from finder into this window)
PLEASE ATTACH YOUR PLIST FILE FOR BUG REPORTS! Seriously! I'll probably ask you for it if you don’t.
Detailed steps to reproduce the problem:
In bash:
$ out=''; echo $'\e]4;-1;?\e\\'; while read -n 1 -s -t 1; do out="$out$REPLY"; done < /dev/tty; echo -n "$out" | hexdump -C
00000000 1b 5d 34 3b 2d 31 3b 72 67 62 3a 66 66 66 66 2f |.]4;-1;rgb:ffff/|
00000010 66 61 31 38 2f 30 39 61 38 07 |fa18/09a8.|
0000001a
What happened:
The response is OSC 4 ; -1 ; rgb : [red] / [green] / [blue] ST
, with a colon after rgb
com.googlecode.iterm2.plist
What should have happened:
The website says the response should be OSC 4 ; -1 ; rgb ; [red] / [green] / [blue] ST
.