diff options
author | Jesse Luehrs <doy@tozt.net> | 2019-11-20 13:16:05 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2019-11-20 13:16:05 -0500 |
commit | f5d5f602dba0229335ec44b817c7822c73171e29 (patch) | |
tree | 0f8205ba85d5fee7a5654346106b33a5778fd7b6 /tests/text.rs | |
parent | dc5efa534b80264f2e5a83ab60056c0834925aea (diff) | |
download | vt100-rust-f5d5f602dba0229335ec44b817c7822c73171e29.tar.gz vt100-rust-f5d5f602dba0229335ec44b817c7822c73171e29.zip |
combining characters should also trigger a cursor wrap
this seems pretty weird, but it is what all other terminals i can find
do, so
Diffstat (limited to 'tests/text.rs')
-rw-r--r-- | tests/text.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/text.rs b/tests/text.rs index a962741..81201a1 100644 --- a/tests/text.rs +++ b/tests/text.rs @@ -160,7 +160,7 @@ fn combining() { assert_eq!(parser.screen().contents(), "a".repeat(80)); parser.process("\u{0301}".as_bytes()); - assert_eq!(parser.screen().cursor_position(), (0, 80)); + assert_eq!(parser.screen().cursor_position(), (1, 0)); assert_eq!(parser.screen().contents(), format!("{}รก", "a".repeat(79))); } |