Hacker News new | ask | show | jobs
by weberc2 2528 days ago
Yeah, I'm not sure why, but this happens in VS Code's integrated terminal, which also has other readline-related issues (alt+backspace deletes to the previous space instead of deleting the previous word, for example). In any case, I still don't use the REPL except when I need to dynamically inspect some value (which isn't necessary in Go, since it's statically typed).
1 comments

Windows is crippled somewhat on that front, but there are workarounds. Often easier and way more functional to just install a wrapper like ptpython, bpython, ipython, etc.
I'm using a Mac.
Sounds like a broken terminal configuration. Try running python at the standard terminal and see what it does.
Yeah, like I said, it works at a standard terminal, not in the VS Code integrated terminal.