Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enabled very basic mouse support #34

Merged
merged 1 commit into from
Jan 23, 2016
Merged

Enabled very basic mouse support #34

merged 1 commit into from
Jan 23, 2016

Commits on Dec 11, 2015

  1. Enabled very basic mouse support

    I see this as work in progress, for now. In terms of the public API, all the
    end user has to do is something like g.EnableMouse = true. I think this is
    reasonable and may not have to really change. Although I think the way it's
    used with KeyBindings should maybe be changed. We need to expose the X and Y of
    the click event - I'm not sure if this is possible currently, although Gui has
    an unexported event field of type termbox.Event that I believe contains this
    information.
    
    Mouse support is something I need for a project I'm using Gocui, I noticed
    there was an issue open in relation to this so I figured I'd send back what
    I've started already.
    
    Thanks for making gocui - it's awesome.
    Harry Lawrence committed Dec 11, 2015
    Configuration menu
    Copy the full SHA
    c36dfef View commit details
    Browse the repository at this point in the history