From 7152bfd5772f64ec0fc7d7d204f5fd4986104823 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sat, 7 Dec 2019 02:53:54 -0500 Subject: one more try for leaving a cursor at the end of a row --- tests/data/fixtures/il_dl.in | 1 + tests/data/fixtures/il_dl/18.json | 12 ++++++++++++ tests/data/fixtures/il_dl/18.typescript | 2 ++ 3 files changed, 15 insertions(+) create mode 100644 tests/data/fixtures/il_dl/18.json create mode 100644 tests/data/fixtures/il_dl/18.typescript (limited to 'tests') diff --git a/tests/data/fixtures/il_dl.in b/tests/data/fixtures/il_dl.in index 3e159aa..db55d5e 100644 --- a/tests/data/fixtures/il_dl.in +++ b/tests/data/fixtures/il_dl.in @@ -15,3 +15,4 @@ a b \x1b[L cd +\x1bc\na\x1b[1;80Hb\x1b[M diff --git a/tests/data/fixtures/il_dl/18.json b/tests/data/fixtures/il_dl/18.json new file mode 100644 index 0000000..131a334 --- /dev/null +++ b/tests/data/fixtures/il_dl/18.json @@ -0,0 +1,12 @@ +{ + "contents": "a", + "cells": { + "0,0": { + "contents": "a" + } + }, + "cursor_position": [ + 0, + 80 + ] +} \ No newline at end of file diff --git a/tests/data/fixtures/il_dl/18.typescript b/tests/data/fixtures/il_dl/18.typescript new file mode 100644 index 0000000..607e0b1 --- /dev/null +++ b/tests/data/fixtures/il_dl/18.typescript @@ -0,0 +1,2 @@ +c +ab \ No newline at end of file -- cgit v1.2.3-54-g00ecf