iTerm2 icon indicating copy to clipboard operation
iTerm2 copied to clipboard

Treat DEL(\x7f) as a control character

Open saitoha opened this issue 12 years ago • 1 comments

It seems that iTerm2 is able to invoke US-ASCII or DEC Special set into GL area. Both of them are 94 character sets. So \x7f should be treated as a control character(DEL).

Now, the following code prints "abc de" on iTerm2.

echo -e "abc\x7fde"

But it will be "abcde" on most terminals(such as xterm, Terminal.app). This patch improves the compatibility among iTerm2 and them.

saitoha avatar Jan 31 '13 11:01 saitoha

Thanks!

gnachman avatar Feb 01 '13 05:02 gnachman