jroimartin / gocui

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

Cursor Not Displaying #40

Closed shibukraj closed 8 years ago

shibukraj commented 8 years ago

Hi jroimartin, Thanks for answering my earlier question. I am asking this question as a new thread, thinking that others who want to use this fantastic library may find these Q&A helpful.

The issue/question I am having is, I have to draw a UI and ask for the user input. I would like to show the cursor in the screen (may be blinking as well) so user knows where the cursor is. I created a sample using gocui https://github.com/shibukraj/synapseconsole/blob/master/console-dev.go

While running I am not able to draw the cursor at all. Can you guide me please.

Thanks again

shibukraj commented 8 years ago

I got the issue figured out. Thanks

jroimartin commented 8 years ago

Cool! :)

AnirudhVyas commented 7 years ago

how? running into same issue ...

Rudi9719 commented 5 years ago

Also having this issue; necro from 2017 but it's 2019 and this shows up first in Google. How did you get the cursor to show up?

Found it. If anyone else runs into this, have g.Cursor = true assuming g is *gocui.Gui