Simplify.

ccol1 already accounts for Color_cursor if it is set.
Honour cursorColor also when the cursor style is underline.
Cleanup the code to save the current cursor coordinates when needed.
Add support for the set cursor style (DECSCUSR) control function.
if it breaks, the pieces will be sharp
Simplify.
Fix typo.
Simplify.
Use meaningful names for variables.
Fix bug in core double-click word selection.

selection_delimit_word does not account for (left) delimiters with width > 1.
In such a case, it sets the starting position of the selection to the
second column of the delimiter (thereby including the delimiter in the
selection) rather than to the first column of the character next to it.
This bug was masked before by 'selection_make' but a recent fix to the
selection code revealed it.
*** empty log message ***
Revert 2013-03-30 change.
Fix regression in 2013-02-16 change.

Do not include a leading partial wide char in the selection, as
otherwise a leading tab is erroneously included in the case of a
double-click word selection if pastableTabs is enabled.
Simplify.
Simplify and correct lerp expression.
Add selection_request perl binding.
Doc fix.
Remove TODOs.
Simplify.
Simplify.