GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — docs(cli-rs): note OpenTUI #1982 in the GNU screen color deviation · anomalyco/opencode@aa58f04

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • packages/cli-rs/parity/deviations
    • OT1967-screen-256-colors.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎packages/cli-rs/parity/deviations/OT1967-screen-256-colors.md‎

Copy file name to clipboardExpand all lines: packages/cli-rs/parity/deviations/OT1967-screen-256-colors.md
+3-3Lines changed: 3 additions & 3 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ TypeScript: the TUI uses `@opentui/core` 0.8.1 from npm. Inside GNU screen (`STY
44
`TMUX`), an inherited `COLORTERM=truecolor` or `24bit` makes it write 24-bit SGR colors (`38;2;r;g;b`). Screen 5
55
drops these unless its `truecolor` setting is on, so cells lose their color.
66

7-
Rust: the client pins OpenTUI `c08bb0e90`, which includes anomalyco/opentui#1967. Inside GNU screen, OpenTUI ignores
8-
`COLORTERM` and writes 256-color SGR (`38;5;n`). Set `OPENTUI_FORCE_TRUECOLOR=1` (or `true`) to force 24-bit color,
7+
Rust: the client pins OpenTUI `48b6da69d`, which includes anomalyco/opentui#1967 and #1982. Inside GNU screen, OpenTUI
8+
ignores `COLORTERM` and Windows Terminal's `WT_SESSION` and writes 256-color SGR (`38;5;n`). Set `OPENTUI_FORCE_TRUECOLOR=1` (or `true`) to force 24-bit color,
99
for example with `setenv OPENTUI_FORCE_TRUECOLOR 1` in `.screenrc` when screen's `truecolor` is on. With
1010
`TERM=screen-256color COLORTERM=truecolor` under a PTY, the Rust home screen writes 200 `38;5`/`48;5` colors and no
1111
`38;2`/`48;2` colors; TS writes 274 `38;2`/`48;2` colors. With `OPENTUI_FORCE_TRUECOLOR=1`, both write 24-bit.
1212

1313
Reason: the OpenTUI fix landed after the npm release that TS uses. The difference goes away when TS moves to an
14-
`@opentui/core` release that includes #1967.
14+
`@opentui/core` release that includes #1967 and #1982.

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.