diff options
author | Helmut Grohne <helmut@subdivi.de> | 2017-01-16 20:39:20 +0100 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2017-01-16 20:39:20 +0100 |
commit | c8392bb99d86ca799d057c9fcc91fa53d880af23 (patch) | |
tree | 1bb834a4d88f3857ed1da54f14feddd6e8964fb1 /README.md | |
parent | f0109cd5051e4b32e038d0dc156e5a8e4fd08caf (diff) | |
download | tcvt-c8392bb99d86ca799d057c9fcc91fa53d880af23.tar.gz |
initial utf8 support
Derive a UTF8Terminal class from Terminal that handles utf8 byte
sequences. It only works on Python 3.x, because feed_utf8 relies on
addch handling unicode str objects. The whole utf8 support is also
conditional to Python 3.x, because the locale module was not safe to use
in Python 2.x.
A terminal is considered utf8 if the LC_* or LANG variables indicate
that.
This branch still has known crashes. Writing non-ascii letter at the end
of a line or letting it scroll from one column to another causes
crashes. More problems may hide elsewhere.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions