gokcehan / lf

Terminal file manager
MIT License
7.49k stars 321 forks source link

gpm support #1419

Open Lassebq opened 10 months ago

Lassebq commented 10 months ago

While mouse events work just fine in a terminal, in a TTY, where the only way to use mouse is gpm, it doesn't. The only file manager which I know supports gpm is midnight commander, if that may help.

joelim-work commented 10 months ago

lf doesn't read input events directly, it uses the tcell library to do so. There is already an outstanding issue there for gpm support: https://github.com/gdamore/tcell/issues/297

I agree with the discussion in there that the support should be implemented inside tcell, and not in every application that uses it.

Lassebq commented 10 months ago

I see. Then I assume this issue can be closed?

joelim-work commented 10 months ago

I don't mind either way. Maybe it's better to leave the issue open in case someone else asks the same question later on.