TextValidateField appears to still contain old cursor debug rendering behavior that changes the background attribute while drawing the cursor/focused insertion point.
This makes editable fields render like a selected block/background in tuirec PNG/GIF output instead of preserving the normal field colors and only changing cursor styling. The issue showed up while prototyping editable NumericUpDown with TextValidateField: cursor visualization was expected to use TextStyle.Underline, but the field/cursor area still picked up a background attribute change.
Expected behavior:
- Cursor visualization should not change the background attribute.
- Temporary cursor styling should be limited to text style, e.g. underline, or to the real terminal cursor.
Observed behavior:
- The rendered field/focused cursor area changes background, making it look like selected text/debug highlighting.
This should be fixed in TextValidateField drawing so the background is preserved.
TextValidateField appears to still contain old cursor debug rendering behavior that changes the background attribute while drawing the cursor/focused insertion point.
This makes editable fields render like a selected block/background in tuirec PNG/GIF output instead of preserving the normal field colors and only changing cursor styling. The issue showed up while prototyping editable
NumericUpDownwithTextValidateField: cursor visualization was expected to useTextStyle.Underline, but the field/cursor area still picked up a background attribute change.Expected behavior:
Observed behavior:
This should be fixed in
TextValidateFielddrawing so the background is preserved.