From 481f6d62265916992dd5b7d3cb3c98c48004372a Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Fri, 3 Dec 2021 11:40:52 -0500 Subject: fix cell attrs when wrapped but no first cell contents on next line --- tests/data/fixtures/il_dl.in | 1 + tests/data/fixtures/il_dl/21.json | 13 +++++++++++++ tests/data/fixtures/il_dl/21.typescript | 1 + 3 files changed, 15 insertions(+) create mode 100644 tests/data/fixtures/il_dl/21.json create mode 100644 tests/data/fixtures/il_dl/21.typescript (limited to 'tests') diff --git a/tests/data/fixtures/il_dl.in b/tests/data/fixtures/il_dl.in index f6ca5e0..86d41f8 100644 --- a/tests/data/fixtures/il_dl.in +++ b/tests/data/fixtures/il_dl.in @@ -18,3 +18,4 @@ cd \x1bc\na\x1b[1;80Hb\x1b[M \x1bc\x1b[1;80Haaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\x1b[H \x1b[L +\x1bc\x1b[1;80H\x1b[1mab\x1b[M diff --git a/tests/data/fixtures/il_dl/21.json b/tests/data/fixtures/il_dl/21.json new file mode 100644 index 0000000..6463e89 --- /dev/null +++ b/tests/data/fixtures/il_dl/21.json @@ -0,0 +1,13 @@ +{ + "contents": " a", + "cells": { + "0,79": { + "contents": "a", + "bold": true + } + }, + "cursor_position": [ + 1, + 1 + ] +} \ No newline at end of file diff --git a/tests/data/fixtures/il_dl/21.typescript b/tests/data/fixtures/il_dl/21.typescript new file mode 100644 index 0000000..87fc711 --- /dev/null +++ b/tests/data/fixtures/il_dl/21.typescript @@ -0,0 +1 @@ +cab \ No newline at end of file -- cgit v1.2.3-54-g00ecf