patch 9.1.0090: Assigning wrong colors when parsing terminal OSC response
Problem: Assigning wrong colors when parsing terminal OSC response
Solution: Correctly assign Green and Blue from the terminal response
(Maxim Kim)
closes: #13981
Signed-off-by: Maxim Kim <habamax@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
diff --git a/src/term.c b/src/term.c
index 44d7443..8aa86ce 100644
--- a/src/term.c
+++ b/src/term.c
@@ -5768,8 +5768,8 @@
int rval, gval, bval;
rval = hexhex2nr(tp_r);
- gval = hexhex2nr(tp_b);
- bval = hexhex2nr(tp_g);
+ gval = hexhex2nr(tp_g);
+ bval = hexhex2nr(tp_b);
#endif
if (is_bg)
{