When I select text to delete or copy and start typing after I deleted the selected text the editor is stuck in this weird highlighted mode where everything I type is white and unreadable. I can escape this by pressing the left arrow key or by pressing escape to exit typing. An example of the white highlighted is below:
I expect the text to be readable when I type.
Fixed it. It was the high-contrast theme in Visual Studio Code that did it. For anybody that has this problem:
"workbench.colorTheme": "Default High Contrast"
I removed this in the settings.json
to fix it.