diff options
author | Jesse Luehrs <doy@tozt.net> | 2021-12-03 14:13:46 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2021-12-03 14:13:46 -0500 |
commit | 91e0dcd8f9de84a9cd0a45b1e776f59ea527881e (patch) | |
tree | 3101f7decc491233fa980625b2de7cd65f6d7031 /tests | |
parent | 732589c4f0a5dbecc33f8ec4f7626a1cc93a03a8 (diff) | |
download | vt100-rust-91e0dcd8f9de84a9cd0a45b1e776f59ea527881e.tar.gz vt100-rust-91e0dcd8f9de84a9cd0a45b1e776f59ea527881e.zip |
fix wrapping while scrolling inside the scroll region too
Diffstat (limited to 'tests')
-rw-r--r-- | tests/data/fixtures/wrap.in | 1 | ||||
-rw-r--r-- | tests/data/fixtures/wrap/32.json | 15 | ||||
-rw-r--r-- | tests/data/fixtures/wrap/32.typescript | 1 |
3 files changed, 17 insertions, 0 deletions
diff --git a/tests/data/fixtures/wrap.in b/tests/data/fixtures/wrap.in index e351293..b04ac81 100644 --- a/tests/data/fixtures/wrap.in +++ b/tests/data/fixtures/wrap.in @@ -29,3 +29,4 @@ a \x1bc\na\x1b[1;79Hデ\n \x1bc\x1b[1;79Hネa\x1b[1;79Hb \x1bc\x1b[1;79Hネa\x1b[1;78Hネ +\x1bc\x1b[24;80Hab diff --git a/tests/data/fixtures/wrap/32.json b/tests/data/fixtures/wrap/32.json new file mode 100644 index 0000000..cdfc959 --- /dev/null +++ b/tests/data/fixtures/wrap/32.json @@ -0,0 +1,15 @@ +{ + "contents": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n ab", + "cells": { + "22,79": { + "contents": "a" + }, + "23,0": { + "contents": "b" + } + }, + "cursor_position": [ + 23, + 1 + ] +}
\ No newline at end of file diff --git a/tests/data/fixtures/wrap/32.typescript b/tests/data/fixtures/wrap/32.typescript new file mode 100644 index 0000000..c15369f --- /dev/null +++ b/tests/data/fixtures/wrap/32.typescript @@ -0,0 +1 @@ +c[24;80Hab
\ No newline at end of file |