mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
parent
49701d3567
commit
991d3b16a3
2 changed files with 28 additions and 1 deletions
27
srcpkgs/zellij/patches/fix-underline-colors.patch
Normal file
27
srcpkgs/zellij/patches/fix-underline-colors.patch
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
From 475dd0862312c9f7a6b0e913400e3372aa09c591 Mon Sep 17 00:00:00 2001
|
||||||
|
From: tranzystorekk <tranzystorek.io@protonmail.com>
|
||||||
|
Date: Fri, 21 Jun 2024 13:46:17 +0200
|
||||||
|
Subject: [PATCH] fix(terminal): use ITU T.418 format for emitted CSI 58
|
||||||
|
sequences (#3440)
|
||||||
|
|
||||||
|
---
|
||||||
|
zellij-server/src/panes/terminal_character.rs | 4 ++--
|
||||||
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/zellij-server/src/panes/terminal_character.rs b/zellij-server/src/panes/terminal_character.rs
|
||||||
|
index c3e6b19df9..3bdc6559fd 100644
|
||||||
|
--- a/zellij-server/src/panes/terminal_character.rs
|
||||||
|
+++ b/zellij-server/src/panes/terminal_character.rs
|
||||||
|
@@ -619,10 +619,10 @@ impl Display for CharacterStyles {
|
||||||
|
if let Some(ansi_code) = self.underline_color {
|
||||||
|
match ansi_code {
|
||||||
|
AnsiCode::RgbCode((r, g, b)) => {
|
||||||
|
- write!(f, "\u{1b}[58;2;{};{};{}m", r, g, b)?;
|
||||||
|
+ write!(f, "\u{1b}[58:2::{}:{}:{}m", r, g, b)?;
|
||||||
|
},
|
||||||
|
AnsiCode::ColorIndex(color_index) => {
|
||||||
|
- write!(f, "\u{1b}[58;5;{}m", color_index)?;
|
||||||
|
+ write!(f, "\u{1b}[58:5:{}m", color_index)?;
|
||||||
|
},
|
||||||
|
AnsiCode::Reset => {
|
||||||
|
write!(f, "\u{1b}[59m")?;
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'zellij'
|
# Template file for 'zellij'
|
||||||
pkgname=zellij
|
pkgname=zellij
|
||||||
version=0.40.1
|
version=0.40.1
|
||||||
revision=1
|
revision=2
|
||||||
# Wasmer runtime only supports the following archs: x86_64, arm64
|
# Wasmer runtime only supports the following archs: x86_64, arm64
|
||||||
# https://docs.wasmer.io/runtime/features#backend-support-by-chipset
|
# https://docs.wasmer.io/runtime/features#backend-support-by-chipset
|
||||||
# https://github.com/wasmerio/wasmer/issues/4244#issuecomment-1751365804
|
# https://github.com/wasmerio/wasmer/issues/4244#issuecomment-1751365804
|
||||||
|
|
Loading…
Add table
Reference in a new issue