foot: asv patch

Closes #1.
This commit is contained in:
nitori 2024-01-01 23:15:55 +00:00
parent 61d4da7475
commit a2b2900871
Signed by: nitori
GPG Key ID: 5FBB7757BFC813A8
4 changed files with 42 additions and 0 deletions

38
wayland/foot/asv.patch Normal file
View File

@ -0,0 +1,38 @@
diff --git a/vt.c b/vt.c
index 0f7bfe63..715614a9 100644
--- a/vt.c
+++ b/vt.c
@@ -1,4 +1,5 @@
#include "vt.h"
+#include "terminal.h"
#include <stdlib.h>
#include <string.h>
@@ -250,6 +251,26 @@ action_execute(struct terminal *term, uint8_t c)
term_update_ascii_printer(term);
break;
+ case '\x1c':
+ /* FS - \x1c - file separator */
+ term_print(term, U'␜', 1);
+ break;
+
+ case '\x1d':
+ /* GS - \x1d - group separator */
+ term_print(term, U'␝', 1);
+ break;
+
+ case '\x1e':
+ /* RS - \x1e - record separator */
+ term_print(term, U'␞', 1);
+ break;
+
+ case '\x1f':
+ /* US - \x1f - unit separator */
+ term_print(term, U'␟', 1);
+ break;
+
/*
* 8-bit C1 control characters
*

View File

@ -2,6 +2,8 @@
export DESTDIR="$1"
patch -p1 < asv.patch
meson setup \
-Dprefix=/usr \
-Dbuildtype=release \

View File

@ -1 +1,2 @@
6206156b3033020e275aee7dec4f2f0be13c60ee252d7136f4baca1a8dd91bb423
fd3e0c9caa3db3cdc5d6bd95af5fbe313782d2bbedd88a4614718170b2837693ab

View File

@ -1 +1,2 @@
https://codeberg.org/dnkl/foot/archive/1.16.2.tar.gz
./asv.patch