anathema icon indicating copy to clipboard operation
anathema copied to clipboard

Add set_background_color on TuiBackend

Open alexanderbh opened this issue 5 months ago • 1 comments

If this is not something Anathema wants to support maybe a different change could be to expose Screen/Output from the backend to the user. Then this could be implemented in the user app instead.

OSC 11 is not supported everywhere. But it is in most of the terminals that people use. It is not a standard but more of a defacto standard.

I have tested with success in: Windows Terminal, Alacritty (windows), Ghostty (mac), Terminal.app (mac), iTerm2 (mac).

Run the example

cargo run --features osc --example terminal_background

alexanderbh avatar Jul 15 '25 08:07 alexanderbh