Re: Incorrect color rendering and yellow background in GNU Screen with gemini-cli
Anton Kratz <[email protected]> Thu, 19 Feb 2026 17:41:04 +0900
| Newsgroups | gmane.comp.gnu.screen.user |
|---|---|
| Message-ID | <CAAhY1SW7MUjVetC06Xxy5NC=PwwyvPq3ctnGLrZC0zOvsBohwA@mail.gmail.com> |
--000000000000010f83064b294602 Content-Type: text/plain; charset="UTF-8" Answering my own question, I managed to update to `Screen version 5.0.0 (build on 2025-03-12 17:03:22)` and the issue is resolved! Anton On Tue, 17 Feb 2026 at 13:04, Anton Kratz <[email protected]> wrote: > Running a gemini (cli) that uses 24-bit TrueColor or 256 colors inside GNU > screen results in distorted colors. Lots of background highlighted in > yellow, overall weird colors. gemini-cli is very hard to use like this. > > gemini works when I am not in a GNU screen session. > > When inside the GNU screen, $TERM is `screen-256color`. > > What I tried: > > Verified TrueColor support inside GSC using a printf escape sequence; the > output correctly displays as orange. > > Configured ~/.screenrc with the following parameters to enable TrueColor > and 256-color support: > > altscreen on > defbce off > truecolor on > attrcolor b ".I" > termcapinfo * 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm' > termcapinfo * 'truecolor@' > termcapinfo xterm*|putty*|rxvt*|konsole*|gnome-terminal*|xfce4-terminal* > 'XT' > term screen-256color > > These are my versions: > > XFCE 4.20 > openSUSE Tumbleweed, aarch64 > GTK Version 3.24.51 > X11, not wayland > Screen version 4.09.01 (GNU) 20-Aug-23 > > Anton > --000000000000010f83064b294602 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-size:small">Ans= wering my own question,=C2=A0=C2=A0I managed to update to `Screen version 5= .0.0 (build on 2025-03-12 17:03:22)` and the issue is resolved!<br><br></di= v><div class=3D"gmail_default" style=3D"font-size:small">Anton</div></div><= br><div class=3D"gmail_quote gmail_quote_container"><div dir=3D"ltr" class= =3D"gmail_attr">On Tue, 17 Feb 2026 at 13:04, Anton Kratz <<a href=3D"ma= ilto:[email protected]">[email protected]</a>> wrote:<br></div><= blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-l= eft:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div styl= e=3D"font-size:small" class=3D"gmail_default">Running a gemini (cli) that u= ses 24-bit TrueColor or 256 colors inside GNU screen results in distorted c= olors. Lots of background highlighted in yellow, overall weird colors. gemi= ni-cli is very hard to use like this.</div><div style=3D"font-size:small" c= lass=3D"gmail_default"><br></div><div style=3D"font-size:small" class=3D"gm= ail_default">gemini works when I am not in a GNU screen session.<br><br>Whe= n inside the GNU screen, $TERM is `screen-256color`.<br><br>What I tried:<b= r><br>Verified TrueColor support inside GSC using a printf escape sequence;= the output correctly displays as orange.<br><br>Configured ~/.screenrc wit= h the following parameters to enable TrueColor and 256-color support:<br><b= r>altscreen on<br>defbce off<br>truecolor on<br>attrcolor b ".I"<= br>termcapinfo * 'Co#256:AB=3D\E[48;5;%dm:AF=3D\E[38;5;%dm'<br>term= capinfo * 'truecolor@'<br>termcapinfo xterm*|putty*|rxvt*|konsole*|= gnome-terminal*|xfce4-terminal* 'XT'<br>term screen-256color<br><br= >These are my versions:<br><br>XFCE 4.20<br>openSUSE Tumbleweed, aarch64<br= >GTK Version 3.24.51<br>X11, not wayland<br></div><div class=3D"gmail_defau= lt" style=3D"font-size:small">Screen version 4.09.01 (GNU) 20-Aug-23<br><br= ></div><div class=3D"gmail_default" style=3D"font-size:small">Anton</div></= div> </blockquote></div> --000000000000010f83064b294602--