Temporary workaround for GE order

This commit is contained in:
Andrew Kay
2021-02-26 22:40:00 -06:00
parent 49ac1a9100
commit d7e4da852e
2 changed files with 5 additions and 1 deletions

View File

@@ -221,6 +221,10 @@ class TN3270Session(Session):
if byte == 0x40 and cell.formatting is not None and cell.formatting.reverse:
return encode_ascii_character(ord('#'))
# TODO: Temporary workaround until character set support is added.
if cell.character_set is not None:
return encode_ascii_character(ord('ß'))
return encode_ebcdic_character(byte)
def _format_message_area(self):

View File

@@ -2,7 +2,7 @@ ptyprocess==0.7.0
pycoax==0.6.0
pyserial==3.5
pyte==0.8.0
pytn3270==0.8.0
pytn3270==0.9.0
sliplib==0.6.2
sortedcontainers==2.3.0
wcwidth==0.2.5