yasukotelin / gitone

gitone is simple git tree viewer TUI application!
5 stars 0 forks source link

App crashes when pressing Enter on the tree #14

Open TadahiroYamamura opened 1 year ago

TadahiroYamamura commented 1 year ago

Permission error on dev/uinput as shown. I can chmod it to make it work without problems, but I don't really want to do that. I haven't found a workaround yet, but just issue it for the time being.

[OS] Ubuntu 22.04 Jammy Jellyfish

[Reproduction]

  1. Display the tree with gitone.
  2. Press Enter on eny commit.

[Displayed error]

permission error for /dev/uinput try cmd : sudo chmod +0666 /dev/uinput
TadahiroYamamura commented 1 year ago

The error seems to occur here. https://github.com/yasukotelin/gitone/blob/f1a171f48f65b0a813f9c428fac9cb5f6be87d5a/view/tui.go#L262-L270

In my environment, it seems to work fine when I comment out here. Is it necessary in your environment? https://github.com/yasukotelin/gitone/blob/f1a171f48f65b0a813f9c428fac9cb5f6be87d5a/view/tui.go#L199