Terminal Guide

Change/Read Selection Foreground Color

ESC1B ]5D 1931 39 ;3b color ESC1B \5C
urxvt
xterm
🔧
vte
TODO

Change/Read selection foreground color.

TODO this color can not reliably restored to original state by reading this and later setting this to the read value. (at least vte; it has a special unset internal flag)

This page is possibly incomplete. Please report an issue if you see something is missing or you have further information.

urxvt ( ✔ )

This only has an effect when selection background color is also set.

xterm ( 🔧 )

🛈 This sequence does not change according to mode reverse display colors. Selection colors keep the same regardless of reverse setting and sequences for background/foreground don't switch.