[Bug] Can't select text
Hi,
When gitu is not running, I can select anything in my terminal emulator, but when gitu is running, I cannot.
Thanks
gitu enables mouse reporting, depending on your terminal emulator you can probably hold a modifier (for example, shift or option) to enable text selection when mouse reporting is enabled.
I actually experience the same issue in Tmux with set -g mouse on . I then can't select text with just the mouse. However, triggering mouse selection via my terminal app (Alacritty) does work.
It seemed to have broken in v0.34.0 when the terminal backend was switched over to Termwiz. v0.33.0 does not replicate the same issue. I'm considering reverting this swap back to Crossterm, as it seems more stable, and the reasoning behind using Termwiz (making use of widgets) proved to not be useful anyway.
I tried to look up how to disable mouse reporting with termwiz but the documentation seems pretty bad. I tried system_terminal.add_change(…CSI escape codes) but couldn’t manage to get it working, but I’ll admit I was shooting in the dark a lot.
This should be fixed on master now, as long as you have the general.mouse_support setting disabled (the default, currently).