diff options
author | Jesse Luehrs <doy@tozt.net> | 2023-04-18 22:46:35 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-18 22:46:35 -0500 |
commit | ae9350107bc11f4e5fcd60a017fe942e93aaec75 (patch) | |
tree | 63b479cd3faebc11d6ab92db961145b57af77229 /tests/data/fixtures | |
parent | 7021de793f9945789276db2dd1006aac64f24495 (diff) | |
parent | 988ce9dce47d485e02dbde35573de3d14065b27e (diff) | |
download | vt100-rust-ae9350107bc11f4e5fcd60a017fe942e93aaec75.tar.gz vt100-rust-ae9350107bc11f4e5fcd60a017fe942e93aaec75.zip |
Merge pull request #10 from FuegoFro/handle_previous_next_line
Add support for CSI E/F (next and previous line)
Diffstat (limited to 'tests/data/fixtures')
-rw-r--r-- | tests/data/fixtures/relative_movement.in | 4 | ||||
-rw-r--r-- | tests/data/fixtures/relative_movement/18.json | 13 | ||||
-rw-r--r-- | tests/data/fixtures/relative_movement/18.typescript | 1 | ||||
-rw-r--r-- | tests/data/fixtures/relative_movement/19.json | 13 | ||||
-rw-r--r-- | tests/data/fixtures/relative_movement/19.typescript | 1 | ||||
-rw-r--r-- | tests/data/fixtures/relative_movement/20.json | 13 | ||||
-rw-r--r-- | tests/data/fixtures/relative_movement/20.typescript | 1 | ||||
-rw-r--r-- | tests/data/fixtures/relative_movement/21.json | 13 | ||||
-rw-r--r-- | tests/data/fixtures/relative_movement/21.typescript | 1 |
9 files changed, 60 insertions, 0 deletions
diff --git a/tests/data/fixtures/relative_movement.in b/tests/data/fixtures/relative_movement.in index 1e744f5..f8339af 100644 --- a/tests/data/fixtures/relative_movement.in +++ b/tests/data/fixtures/relative_movement.in @@ -15,3 +15,7 @@ \x1b[500B \x1b[500A \x1b[24;80H\x1b[1ma\x1b[A +\x1b[5;5H\x1b[3F +\x1b[5;5H\x1b[F +\x1b[5;5H\x1b[3E +\x1b[5;5H\x1b[E diff --git a/tests/data/fixtures/relative_movement/18.json b/tests/data/fixtures/relative_movement/18.json new file mode 100644 index 0000000..8dde982 --- /dev/null +++ b/tests/data/fixtures/relative_movement/18.json @@ -0,0 +1,13 @@ +{ + "contents": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n a", + "cells": { + "23,79": { + "contents": "a", + "bold": true + } + }, + "cursor_position": [ + 1, + 0 + ] +}
\ No newline at end of file diff --git a/tests/data/fixtures/relative_movement/18.typescript b/tests/data/fixtures/relative_movement/18.typescript new file mode 100644 index 0000000..300ac2e --- /dev/null +++ b/tests/data/fixtures/relative_movement/18.typescript @@ -0,0 +1 @@ +[5;5H[3F
\ No newline at end of file diff --git a/tests/data/fixtures/relative_movement/19.json b/tests/data/fixtures/relative_movement/19.json new file mode 100644 index 0000000..f151bb2 --- /dev/null +++ b/tests/data/fixtures/relative_movement/19.json @@ -0,0 +1,13 @@ +{ + "contents": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n a", + "cells": { + "23,79": { + "contents": "a", + "bold": true + } + }, + "cursor_position": [ + 3, + 0 + ] +}
\ No newline at end of file diff --git a/tests/data/fixtures/relative_movement/19.typescript b/tests/data/fixtures/relative_movement/19.typescript new file mode 100644 index 0000000..6dfedc0 --- /dev/null +++ b/tests/data/fixtures/relative_movement/19.typescript @@ -0,0 +1 @@ +[5;5H[F
\ No newline at end of file diff --git a/tests/data/fixtures/relative_movement/20.json b/tests/data/fixtures/relative_movement/20.json new file mode 100644 index 0000000..479a1bd --- /dev/null +++ b/tests/data/fixtures/relative_movement/20.json @@ -0,0 +1,13 @@ +{ + "contents": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n a", + "cells": { + "23,79": { + "contents": "a", + "bold": true + } + }, + "cursor_position": [ + 7, + 0 + ] +}
\ No newline at end of file diff --git a/tests/data/fixtures/relative_movement/20.typescript b/tests/data/fixtures/relative_movement/20.typescript new file mode 100644 index 0000000..17d2b03 --- /dev/null +++ b/tests/data/fixtures/relative_movement/20.typescript @@ -0,0 +1 @@ +[5;5H[3E
\ No newline at end of file diff --git a/tests/data/fixtures/relative_movement/21.json b/tests/data/fixtures/relative_movement/21.json new file mode 100644 index 0000000..ab71e23 --- /dev/null +++ b/tests/data/fixtures/relative_movement/21.json @@ -0,0 +1,13 @@ +{ + "contents": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n a", + "cells": { + "23,79": { + "contents": "a", + "bold": true + } + }, + "cursor_position": [ + 5, + 0 + ] +}
\ No newline at end of file diff --git a/tests/data/fixtures/relative_movement/21.typescript b/tests/data/fixtures/relative_movement/21.typescript new file mode 100644 index 0000000..b704ed4 --- /dev/null +++ b/tests/data/fixtures/relative_movement/21.typescript @@ -0,0 +1 @@ +[5;5H[E
\ No newline at end of file |