move ctrl+0,1,2... before imf processing so it works with imf on.
Revert "move ctrl+0,1,2... before imf processing so it works with imf on."

This reverts commit dd23ed64be95599dd8eeab0baf4e07febb204e17.
add arcconifg for terminology.
Terminology: fix tab hotkey with UIM-XIM

Tab switch hotkeys are broken when using UIM-XIM.
Ctrl-1 displays "1" and doesn't switch tab as the control code is
supposedly handled by the IMF (even if it is not by configuration).

Note: not sure what the behaviour should be if UIM is configured to
catch Ctrl-1 sequences?

Setup UIM-XIM if possible.
Export ECORE_IMF_MODULE=xim.
Open terminology, create tab, press Ctrl-1. Should switch tab and not
display "1".
Fix mild theme for tab switching

Tab switching suffers from painful color changes esp. when using black theme.
Mostly just copy&paste from default.edc and removing some of the shininess.
shorten labels for options so options fit in default term size.
handle DCS status string requests
compat: add some csi dec private modes TODOs
compat: only clear cells when scrolling to add text

and to delete lines, but not when just moving the cursor
add termio_win_get();
compat: add ugly testing code to change between 80/132 cols
compat: add margin top support on Origin mode
compat: handle cursor-controls chars in ESC sequences
compat: csi parameters are always decimal

There can be some leading zeros.
compat: fix len computation when handling DCS escape codes
compat: improve doc/parsing on DCS escape codes