* [PR PATCH] zellij: add fix for underline colors
@ 2024-06-21 12:31 tranzystorekk
2024-06-21 23:32 ` [PR PATCH] [Updated] " tranzystorekk
2024-06-22 0:12 ` [PR PATCH] [Closed]: " classabbyamp
0 siblings, 2 replies; 3+ messages in thread
From: tranzystorekk @ 2024-06-21 12:31 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1280 bytes --]
There is a new pull request by tranzystorekk against master on the void-packages repository
https://github.com/tranzystorekk/void-packages zellij-underline-colors-fix
https://github.com/void-linux/void-packages/pull/50911
zellij: add fix for underline colors
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/50911.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-zellij-underline-colors-fix-50911.patch --]
[-- Type: text/x-diff, Size: 2534 bytes --]
From e4a898c558208546e3141b326fac5c7ab4120c27 Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Fri, 21 Jun 2024 14:28:43 +0200
Subject: [PATCH] zellij: add fix for underline colors
---
.../zellij/patches/fix-underline-colors.patch | 27 +++++++++++++++++++
srcpkgs/zellij/template | 2 +-
2 files changed, 28 insertions(+), 1 deletion(-)
create mode 100644 srcpkgs/zellij/patches/fix-underline-colors.patch
diff --git a/srcpkgs/zellij/patches/fix-underline-colors.patch b/srcpkgs/zellij/patches/fix-underline-colors.patch
new file mode 100644
index 00000000000000..31b5d8f31fe474
--- /dev/null
+++ b/srcpkgs/zellij/patches/fix-underline-colors.patch
@@ -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")?;
diff --git a/srcpkgs/zellij/template b/srcpkgs/zellij/template
index 31656a8171a38e..826e65720f285a 100644
--- a/srcpkgs/zellij/template
+++ b/srcpkgs/zellij/template
@@ -1,7 +1,7 @@
# Template file for 'zellij'
pkgname=zellij
version=0.40.1
-revision=1
+revision=2
# Wasmer runtime only supports the following archs: x86_64, arm64
# https://docs.wasmer.io/runtime/features#backend-support-by-chipset
# https://github.com/wasmerio/wasmer/issues/4244#issuecomment-1751365804
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PR PATCH] [Updated] zellij: add fix for underline colors
2024-06-21 12:31 [PR PATCH] zellij: add fix for underline colors tranzystorekk
@ 2024-06-21 23:32 ` tranzystorekk
2024-06-22 0:12 ` [PR PATCH] [Closed]: " classabbyamp
1 sibling, 0 replies; 3+ messages in thread
From: tranzystorekk @ 2024-06-21 23:32 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1285 bytes --]
There is an updated pull request by tranzystorekk against master on the void-packages repository
https://github.com/tranzystorekk/void-packages zellij-underline-colors-fix
https://github.com/void-linux/void-packages/pull/50911
zellij: add fix for underline colors
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/50911.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-zellij-underline-colors-fix-50911.patch --]
[-- Type: text/x-diff, Size: 2534 bytes --]
From 60247087ec3753d58a6a80843b07816b9f32594b Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Fri, 21 Jun 2024 14:28:43 +0200
Subject: [PATCH] zellij: add fix for underline colors
---
.../zellij/patches/fix-underline-colors.patch | 27 +++++++++++++++++++
srcpkgs/zellij/template | 2 +-
2 files changed, 28 insertions(+), 1 deletion(-)
create mode 100644 srcpkgs/zellij/patches/fix-underline-colors.patch
diff --git a/srcpkgs/zellij/patches/fix-underline-colors.patch b/srcpkgs/zellij/patches/fix-underline-colors.patch
new file mode 100644
index 00000000000000..31b5d8f31fe474
--- /dev/null
+++ b/srcpkgs/zellij/patches/fix-underline-colors.patch
@@ -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")?;
diff --git a/srcpkgs/zellij/template b/srcpkgs/zellij/template
index 31656a8171a38e..826e65720f285a 100644
--- a/srcpkgs/zellij/template
+++ b/srcpkgs/zellij/template
@@ -1,7 +1,7 @@
# Template file for 'zellij'
pkgname=zellij
version=0.40.1
-revision=1
+revision=2
# Wasmer runtime only supports the following archs: x86_64, arm64
# https://docs.wasmer.io/runtime/features#backend-support-by-chipset
# https://github.com/wasmerio/wasmer/issues/4244#issuecomment-1751365804
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PR PATCH] [Closed]: zellij: add fix for underline colors
2024-06-21 12:31 [PR PATCH] zellij: add fix for underline colors tranzystorekk
2024-06-21 23:32 ` [PR PATCH] [Updated] " tranzystorekk
@ 2024-06-22 0:12 ` classabbyamp
1 sibling, 0 replies; 3+ messages in thread
From: classabbyamp @ 2024-06-22 0:12 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1097 bytes --]
There's a closed pull request on the void-packages repository
zellij: add fix for underline colors
https://github.com/void-linux/void-packages/pull/50911
Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-06-22 0:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-21 12:31 [PR PATCH] zellij: add fix for underline colors tranzystorekk
2024-06-21 23:32 ` [PR PATCH] [Updated] " tranzystorekk
2024-06-22 0:12 ` [PR PATCH] [Closed]: " classabbyamp
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).