This is a bit of a weird one. If I start psql
but then press Ctrl+C when it prompts for a password, the program seems to exit, but I can't see what I type anymore even though I'm back in my shell. It's as if everything I type is getting hidden because it still thinks I'm typing my password.
The only solution for this that I've found is to start a new shell, which is fine, but not great. I'd love to understand what's happening here and how to fix it.