selectel / pyte

Simple VTXXX-compatible linux terminal emulator
http://pyte.readthedocs.org/
GNU Lesser General Public License v3.0
658 stars 102 forks source link

Add BEL as terminator for OSC and remove ST from special symbols #54

Closed m0sth8 closed 8 years ago

m0sth8 commented 8 years ago

Hello,

This commit contains two fixes: 1) Add BEL as terminator for OSC according to http://man7.org/linux/man-pages/man4/console_codes.4.html:

In addition to the ECMA-48 string terminator (ST), xterm(1) accepts a BEL to terminate an OSC string. 2) ST - string terminator shouldn't be a special symbol.

superbobry commented 8 years ago

Thanks for the PR. xterm does indeed accept BEL. I wasn't sure if I should add it into pyte because we mostly aim to support linux or vt220. But now that the PR is there, I'll surely merge it.