File: emoji-test.patch

package info (click to toggle)
rust-termwiz 0.23.3-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,144 kB
  • sloc: sh: 10,456; makefile: 18
file content (14 lines) | stat: -rw-r--r-- 494 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Description: fix emoji test
Author: Ananthu C V <weepingclown@disroot.org>
Forwarded: not-needed
Last-Update: 2024-06-23
--- a/src/cell.rs
+++ b/src/cell.rs
@@ -1201,5 +1201,5 @@
             Presentation::for_grapheme(raised_fist_text),
-            (Presentation::Emoji, None)
+            (Presentation::Emoji, Some(Presentation::Text))
         );
-        assert_eq!(unicode_column_width(raised_fist_text, None), 2);
+        assert_eq!(unicode_column_width(raised_fist_text, None), 1);