Re: b4 review available in master

Konstantin Ryabitsev
2026-03-03T04:26:46Z

On Mon, 02 Mar 2026, Junio C Hamano wrote:
> I hate to complain about trivialities, but the coloring scheme was
> too noisy and with weaker color perception than normal folks, I
> couldn't really see many of the UI elements in "b4 review tui".

Junio:

Thanks for giving b4 review a try -- and this is definitely not a triviality.
A lot of it is "rapidly prototyped" with colours that made sense on my
dark-mode terminal using textual's default pallette and I've not tried it with
other colour schemes.

> Is there a monochrome option that is usable by color challenged
> people?

There is now. The review TUI is built on top of Textual, which ships a
built-in 16-colour ANSI theme that defers all colour choices to the terminal
emulator. You can enable it by setting:

export TEXTUAL_THEME=textual-ansi

With this, the TUI will use your terminal's own palette instead of hardcoded
RGB values, so it should work well with any colour scheme you've configured
for your accessibility needs -- whether that's high-contrast, monochrome, or a
palette tuned for colour vision deficiency.

You'll still find some colours here and there -- please let me know if they
are a distraction and I'll think of better ways to make that work better in
monochrome modes.

You'll need the latest b4 master for this.

Best wishes,
--
KR