Move inverted selection to TerminalPainter
requested to merge ninjalj/konsole:work/ninjalj/move-inverted-selection-to-terminalpainter into master
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.