Test for toggling IUTF8

This commit is contained in:
Kovid Goyal
2017-04-28 09:41:47 +05:30
parent 29988c94fa
commit 3f272d102b
2 changed files with 7 additions and 1 deletions

View File

@@ -33,10 +33,14 @@ class Callbacks:
def buf_toggled(self, is_alt):
self.is_alt = is_alt
def use_utf8(self, on):
self.iutf8 = on
def clear(self):
self.wtcbuf = b''
self.iconbuf = self.titlebuf = self.colorbuf = self.qbuf = self.ctbuf = ''
self.is_alt = False
self.iutf8 = True
def filled_line_buf(ynum=5, xnum=5, cursor=Cursor()):