News for hackers. Stuff that matters.
Re:Yaegi – Yet Another Go Interpreter by weberc2 on Wednesday July 24, 2019 @01:06PM (#20517231)
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).
Re:Yaegi – Yet Another Go Interpreter by mixmastamyk on Wednesday July 24, 2019 @01:54PM (#20517774)
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.
Re:Yaegi – Yet Another Go Interpreter by weberc2 on Wednesday July 24, 2019 @03:58PM (#20519042)
I'm using a Mac.
Re:Yaegi – Yet Another Go Interpreter by mixmastamyk on Wednesday July 24, 2019 @04:05PM (#20519103)
Sounds like a broken terminal configuration. Try running python at the standard terminal and see what it does.
Re:Yaegi – Yet Another Go Interpreter by weberc2 on Wednesday July 24, 2019 @04:06PM (#20519108)
Yeah, like I said, it works at a standard terminal, not in the VS Code integrated terminal.