mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-27 03:42:49 +00:00
Fix #8741
This commit is contained in:
parent
c7fcd44ecf
commit
bca017fa4c
4 changed files with 22 additions and 11 deletions
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue