Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Treat DEL(\x7f) as a control character #113

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

saitoha
Copy link
Contributor

@saitoha saitoha commented Jan 31, 2013

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.

@gnachman
Copy link
Owner

gnachman commented Feb 1, 2013

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants