wtf???

this happens only in this one terminal window

and only the shell is affected, i can’t even type # without it appearing as £

opening this file in vim is fine though!

@nilsding ah! something probably dumped out binary garbage that included an ANSI escape code to switch your terminal's codepage

vim runs in the secondary buffer that has separate state

@lambda terminals were a mistake

@lambda but yes, that was it.

to reproduce:

printf '\e(A'