tcell.Screen exposes an EnableMouse with the option to specify which type of mouse events to capture (click, drag, all). Unfortunately putty doesn't currently support "all", which is the default, so we need to specify either click or drag.
This problem is further compounded by tview.Application not exposing the underlying Screen directly. It does however use a Screen if we provide it; allowing us to create one, configure the mouse, and then use it. We don't call Application.EnableMouse because that will override the setting we've used.
This is probably going to cause a conflict in the README.md of #79, but I'll clean it up after this or that is merged).
tcell.Screen exposes an EnableMouse with the option to specify which type of mouse events to capture (click, drag, all). Unfortunately putty doesn't currently support "all", which is the default, so we need to specify either click or drag.
This problem is further compounded by tview.Application not exposing the underlying Screen directly. It does however use a Screen if we provide it; allowing us to create one, configure the mouse, and then use it. We don't call Application.EnableMouse because that will override the setting we've used.
This is probably going to cause a conflict in the README.md of #79, but I'll clean it up after this or that is merged).
Fixes #77