Skip to content

Commit

Permalink
Added term_char support in write_raw
Browse files Browse the repository at this point in the history
  • Loading branch information
alexforencich committed Aug 14, 2013
1 parent 318bd1a commit de1143f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions vxi11/vxi11.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,11 @@ def write_raw(self, data):
if self.link is None:
self.open()

if self.term_char is not None:
flags = OP_FLAG_TERMCHAR_SET
term_char = str(self.term_char).encode('utf-8')[0]
data += term_char

flags = 0

num = len(data)
Expand Down

0 comments on commit de1143f

Please sign in to comment.