awesome-gocui / gocui

Minimalist Go package aimed at creating Console User Interfaces.
BSD 3-Clause "New" or "Revised" License
344 stars 39 forks source link

Processing input from a view #124

Closed DiscoRiver closed 2 years ago

DiscoRiver commented 2 years ago

Hey! First of all thanks for the commitment to this project.

I'm running into some bother figuring out from the API how I'm supposed to process user input. I have an editable view, which I can type into, but can't figure out how to then read that into my program.

Any help would be appreciated!

Thanks

DiscoRiver commented 2 years ago

NVM, I was using view.Buffer() incorrectly and missed it.