This is apparently Linux trying to be smart, but Eidos/SLiMgui don't support this, of course. I'm not sure whether Linux is somehow forcing styled text into SLiMgui's editor (which should only allow plain text), or whether it is using the Unicode superscript 2 (https://www.compart.com/en/unicode/U+00B2). Either way, it needs to be prevented.
Workarounds: typing x^^2 prevents it; I guess ^^ is the Linux way of saying "no, I really do want a caret". Or you can type "x^ 2", with a space, and then delete the space.
This is apparently Linux trying to be smart, but Eidos/SLiMgui don't support this, of course. I'm not sure whether Linux is somehow forcing styled text into SLiMgui's editor (which should only allow plain text), or whether it is using the Unicode superscript 2 (https://www.compart.com/en/unicode/U+00B2). Either way, it needs to be prevented.
Workarounds: typing x^^2 prevents it; I guess ^^ is the Linux way of saying "no, I really do want a caret". Or you can type "x^ 2", with a space, and then delete the space.