So I'm having a really weird terminal problem that affects both physical login sessions as well as sessions over SSH. Basically, the terminal size is some number of columns. When printing stuff out, it'll properly use this amount of columns and wrap around when needed. However, when I'm typing in an actual command, it will use some smaller amount of columns. Probably 90 or 100 columns. At this point it'll wrap around to the current line (rather than the next time). If I start to backspace with a wrapped command, then when it gets to where it wraps back around the entire command line will instead change to a blank line. This behavior also happens when I push the up arrow key to repeat a previous command.
What exactly is going on here and how do I stop it?
It seems like making a new terminal session usually fixes it, but nothing else seems to including reset
.