mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-09 05:35:19 +02:00
Fix #8741
This commit is contained in:
@@ -535,8 +535,6 @@ class TestDataTypes(BaseTest):
|
||||
if saved[k] is not None:
|
||||
os.environ[k] = saved[k]
|
||||
|
||||
|
||||
|
||||
def test_historybuf(self):
|
||||
lb = filled_line_buf()
|
||||
hb = HistoryBuf(5, 5)
|
||||
|
||||
@@ -105,6 +105,14 @@ class TestScreen(BaseTest):
|
||||
self.ae(str(s.line(4)), 'a\u0306b1\u030623')
|
||||
self.ae((s.cursor.x, s.cursor.y), (2, 4))
|
||||
|
||||
# Test drawing of tabs
|
||||
s = self.create_screen(cols=32)
|
||||
txt = 'a\tb'
|
||||
s.draw(txt)
|
||||
ln = s.line(0)
|
||||
self.ae(txt, ln.as_ansi())
|
||||
|
||||
|
||||
def test_rep(self):
|
||||
s = self.create_screen()
|
||||
s.draw('a')
|
||||
|
||||
Reference in New Issue
Block a user