Move inverted selection to TerminalPainter
TerminalPainter already takes care of calculating blended colors when "Always invert the colors of selected text" is off. Move there also the swapping of fg/bg colors for the inverted colors kind of selections. This removes one reference to TerminalDisplay from Screen. There is still another one to support reflow for some zsh configurations.
Please register or sign in to comment