aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAram Drevekenin <aram@poor.dev>2021-10-26 16:43:56 +0200
committerGitHub <noreply@github.com>2021-10-26 16:43:56 +0200
commit685b51efbb4f2670c504e80e663dcf1fb4890863 (patch)
treef210a16dca730e6b41313ee404340cefea0ef852 /src
parentdocs(changelog): Rotate Pane locations (#802) (diff)
downloadsl0ppij-685b51efbb4f2670c504e80e663dcf1fb4890863.tar.gz
sl0ppij-685b51efbb4f2670c504e80e663dcf1fb4890863.tar.xz
sl0ppij-685b51efbb4f2670c504e80e663dcf1fb4890863.zip
fix(compatibility): improve handling of wide characters inserted in the middle of existing lines (#806)
* fix(compatibility): handle wide characters inserted in line middle * fix(compatibility): more wide char handling * style(fmt): make rustfmt happy * style(fmt): make clippy happy * style(fmt): make clippyt happy * style(fmt): make rustfmt happy... again
Diffstat (limited to 'src')
-rw-r--r--src/tests/fixtures/chinese_characters_line_middle14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/tests/fixtures/chinese_characters_line_middle b/src/tests/fixtures/chinese_characters_line_middle
new file mode 100644
index 00000000..5c3d1966
--- /dev/null
+++ b/src/tests/fixtures/chinese_characters_line_middle
@@ -0,0 +1,14 @@
+% 
+Temp/zellij/Chinese
+❯ [?2004h 
+Temp/zellij/Chinese
+❯ ttput lines[?2004l
+21
+% 
+Temp/zellij/Chinese
+❯ [?2004httput cols[?2004l
+86
+% 
+Temp/zellij/Chinese
+❯ [?2004hrranger[?2004l
+[?1049h(B[?7h[?1h[?25l[?1000h(Bloading...kranger\[?1h[?1000hkranger\ (Bjinho@pochita /home/jinho/Documents/Temp/zellij/Chinese/第一 (B Chinese (B (B 第一 0 (B ...(B 第三 0  第二 0  第五 0  第四 0  zellij-11.log 1.85 K  (Bzellij.log979 B drwxr-xr-x 2 jinho jinho 0 2021-10-13 10:312.8K sum, 933G free 1/7 Al[?7ll[?7h(Bempty(B(B三 第一 0 (B ...(B (B 第三 0 (B2(Bempty(B(B二(B...(B (B 第三 0 (B 第二 0 (B3(Bempty(B(B五(B...(B (B 第二 0 (B 第五 0 (B4(Bempty(B(B四(B...(B (B 第五 0 (B 第四 0 (B5(Bempty(B(B五(B 第五 0 (B 第四 0 (B4(B(B二(B 第二 0 (B 第五 0 (B3(B