Hello, all
I'm using mintty every day, nice program.
I'd try to put the terminal line into raw mode (using the stty
command or the tcsetattr() function), write the request sequence, and
wait for a reply on stdin, ideally with some sort of timeout so it
doesn't hang if there is no reply for whatever reason. And restore the
original terminal line settings at the end.
> BTW, I'm guessing the result would be "\e]10;rgb:ffff/ffff/ffff\e\\", but> it differs.> Each time running script, the portion of OSC control sequence argument> value '10' varies.> If this value has '0', then window title will be changed to> "rgb:ffff/ffff/ffff" due to the resulting escape sequence output.> Is this behavior correct? Is there a bug around the result string?You're right, there is, I should have remembered to warn you about it:It's fixed for the next release.