Is this really one of the first things you want to show people how to do in Julia? That seems… odd. This is only an issue in a very specific context—when trying to use low-level I/O functions from inside of the Juno IDE. If you’re using Julia in the terminal, it works fine. Certainly, it would be nice to fix, but it seems like a rather niche problem. In case you’re not aware, Julia ships with a fully functional interactive terminal prompt and menu system which you can also use for prompting the user for input. It seems like insisting on using low-level functions like print
and readline
in contexts like IDEs instead of using higher level abstractions that can hook into the appropriate display contexts is the bigger problem here.
4 Likes