mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-16 06:07:00 +02:00
rxvt-unicode: fix for tmux-3.4
This commit is contained in:
parent
a8f934ffad
commit
3c6990d11f
2 changed files with 20 additions and 1 deletions
19
srcpkgs/rxvt-unicode/patches/fix-for-tmux-34.patch
Normal file
19
srcpkgs/rxvt-unicode/patches/fix-for-tmux-34.patch
Normal file
|
@ -0,0 +1,19 @@
|
|||
OSC commands returning the colour sequence must be terminated by either
|
||||
of ST, ESC \, or BEL. rxvt-unicode tries to use the same type of termination
|
||||
as was in the query but doesn't correctly handle the multiple-char sequence
|
||||
used for 7-bit queries. Force to using ESC \ instead for now.
|
||||
|
||||
--- a/src/command.C
|
||||
+++ b/src/command.C
|
||||
@@ -3426,9 +3426,9 @@
|
||||
snprintf (rgba_str, sizeof (rgba_str), "rgb:%04x/%04x/%04x", c.r, c.g, c.b);
|
||||
|
||||
if (IN_RANGE_INC (color, minCOLOR, maxTermCOLOR))
|
||||
- tt_printf ("\033]%d;%d;%s%c", report, color - minCOLOR, rgba_str, resp);
|
||||
+ tt_printf ("\033]%d;%d;%s\033\\", report, color - minCOLOR, rgba_str);
|
||||
else
|
||||
- tt_printf ("\033]%d;%s%c", report, rgba_str, resp);
|
||||
+ tt_printf ("\033]%d;%s\033\\", report, rgba_str, resp);
|
||||
}
|
||||
else
|
||||
set_window_color (color, str);
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'rxvt-unicode'
|
||||
pkgname=rxvt-unicode
|
||||
version=9.31
|
||||
revision=3
|
||||
revision=4
|
||||
build_style=gnu-configure
|
||||
configure_args="
|
||||
--with-terminfo=/usr/share/terminfo --enable-256-color
|
||||
|
|
Loading…
Add table
Reference in a new issue