mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-10-21 04:32:05 +00:00
Add tests for combining at screen edge
This commit is contained in:
parent
4c2bd8ffb1
commit
2cad589f1c
1 changed files with 10 additions and 0 deletions
|
|
@ -71,6 +71,16 @@ class TestScreen(BaseTest):
|
|||
self.ae(s.cursor.x, 5), self.ae(s.cursor.y, 2)
|
||||
s.draw('c' * 15)
|
||||
self.ae(str(s.line(0)), 'ニチ')
|
||||
s.reset()
|
||||
qt = 'a' * s.columns + '\u0306'
|
||||
s.draw(qt)
|
||||
self.ae(str(s.line(0)), qt)
|
||||
s.reset()
|
||||
s.draw(qt[:-1]), s.draw(qt[-1])
|
||||
self.ae(str(s.line(0)), qt)
|
||||
s.reset()
|
||||
s.draw(qt[:-1]), s.linefeed(), s.carriage_return(), s.draw(qt[-1])
|
||||
self.ae(str(s.line(0)), qt[:-1])
|
||||
|
||||
# Now test without line-wrap
|
||||
s.reset(), s.reset_dirty()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue