diff options
author | Jesse Luehrs <doy@tozt.net> | 2019-12-07 06:37:29 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2019-12-07 06:37:29 -0500 |
commit | 9af24d9dc020f419c7b60753680e4edc6d8428b7 (patch) | |
tree | ee559845132c2a9cc39b3ddc712bfab871d0caa1 /tests/data/fixtures/wrap/29.json | |
parent | 6f5d88a4835615063e7e6dbdbaceee6494bc0675 (diff) | |
download | vt100-rust-9af24d9dc020f419c7b60753680e4edc6d8428b7.tar.gz vt100-rust-9af24d9dc020f419c7b60753680e4edc6d8428b7.zip |
fix positioning cursor past end of line when there are wide characters
Diffstat (limited to 'tests/data/fixtures/wrap/29.json')
-rw-r--r-- | tests/data/fixtures/wrap/29.json | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/data/fixtures/wrap/29.json b/tests/data/fixtures/wrap/29.json new file mode 100644 index 0000000..7c0324d --- /dev/null +++ b/tests/data/fixtures/wrap/29.json @@ -0,0 +1,20 @@ +{ + "contents": " デ\na", + "cells": { + "0,78": { + "contents": "デ", + "is_wide": true + }, + "0,79": { + "contents": "", + "is_wide_continuation": true + }, + "1,0": { + "contents": "a" + } + }, + "cursor_position": [ + 1, + 80 + ] +}
\ No newline at end of file |