simonkrauter / NiGui

Cross-platform desktop GUI toolkit written in Nim
MIT License
718 stars 50 forks source link

Wrong Code for example_02_controls.nim in Windows #41

Closed aryanbadiee closed 5 years ago

aryanbadiee commented 5 years ago

Hi in https://github.com/trustable-code/NiGui/blob/8b88552444215852f5fe999091d55dc12bd4313f/examples/example_02_controls.nim#L25 "\n" do not go to the new line for textArea in Windows! replace "\n" with "\p" or "\r\n". thanks and good luck.

simonkrauter commented 5 years ago

You are right. Thanks.