mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-17 14:04:52 +02:00
Fix off-by-one in code to nuke incomplete multicell chars in line
Fixes #8758
This commit is contained in:
@@ -308,6 +308,12 @@ def test_multicell(self: TestMulticell) -> None:
|
||||
|
||||
# Test delete chars with multicell (aka left shift)
|
||||
s.reset()
|
||||
s.draw(' 允许')
|
||||
s.cursor.x = 0
|
||||
s.delete_characters(1)
|
||||
for x in range(4):
|
||||
ac(x, 0, width=2)
|
||||
s.reset()
|
||||
multicell(s, 'a', width=2)
|
||||
s.cursor.x = 0
|
||||
s.delete_characters(1)
|
||||
|
||||
Reference in New Issue
Block a user