quitting in the terminal

wizard zines
@b0rk This might be a bit too in the weeds, but Ctrl-D flushes the current terminal line buffer. EOF is commonly detected by having a zero-length read, so you can also exit without having a newline by doing Ctrl-D twice (once to flush the current line, and once to trigger a zero-length read). I tested this to verify I remembered it correctly and doesn't work for a Python REPL, but works for `cat > foo.txt` or similar.
@light thanks! i want to figure out why it doesn’t work for python, maybe it’s related to readline somehow
@b0rk That would be my guess as well. 👍