On Tuesday, November 29, 2016 at 7:11:57 AM UTC+1, bia...@gmail.com wrote:
>
> I've been wondering how I should setup input fields..... should termbox be 
> responsible for it? or termui as you suggested (this  seems more for 
> monitoring...) or even gocui?
>
 I've tested termui and GOCUI extensively, and found both to be the best 
options for exactly that sort of thing. I did have to modify things/make 
custom widgets to get lists working how *I* like them, but it's very easy 
to use.

I'm leaning slightly towards GOCUI personally, but that doesn't mean you 
should reach for that without testing termui. Both are fairly easy to set 
up, but they have different ways of handling input and updating the display.

If anyone is kind enough to show some example code of a page with input 
> fields.... maybe 1-2 input fields it'd greatly help.
>
 There isn't really much to it. There are very few widgets - everything is 
basically a bit of text, with or without a border, with different colours 
and/or cursors to indicate its purpose. Examples of what you need would be 
useful.

For more direct help I can recommend the Gopher Slack (I can show more of 
my code there).

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to