nim-lang / NimLime

The official Nim programming language plugin for Sublime Text
MIT License
132 stars 34 forks source link

Problems using program in Sublime terminal #132

Closed ghost closed 1 year ago

ghost commented 5 years ago

When I build this small prog in Sublime: echo "What's your name? " var name: string = readLine(stdin) echo "Hi, ", name, "!" my name is asked on (Sublime) terminal; when I type one and enter, nothing seems to happen. Adding: flushFile(stdout) doesn't help. Somehow the program is stalled ...

The code shown first works OK in a native terminal (cmdprompt).

AmjadHD commented 1 year ago

Sublime text doesn't have a builtin interactive terminal. Watch this video on how to set up Terminus: https://www.youtube.com/watch?v=etIJMVIvVgg