Git commands output have no mouse support.
Bug #326460 reported by
Welton Rodrigo Torres Nascimento
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
git-core (Debian) |
Confirmed
|
Unknown
|
|||
git-core (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: git-core
git-core 1:1.5.6.
ubuntu 8.10
Expected:
If i do a git log or git show the output is shown using a pager, /usr/bin/pager, but there is no mouse support, no scroll wheel.
But if I do, say, git log | pager, guess what? Mouse support!
find /etc/ | less? Mouse support.
Git must have mouse support on Ubuntu!
Changed in git-core (Debian): | |
status: | Unknown → New |
Changed in git-core (Debian): | |
status: | New → Confirmed |
To post a comment you must log in.
git exports LESS=FRSX if the LESS environment variable is not already set. The -X (--no-init) is required to let -F (--quit- if-one- screen) work sensibly, but breaks mouse wheel scrolling.
To work around this, you can disable both of those options by exporting LESS=RS. You will gain mouse wheel scrolling, but the disadvantage is that you will always have to explicitly quit the pager, even if it is displaying less than a screenfull.
If you think the default should be changed, consider talking to the upstream developers: <http:// vger.kernel. org/vger- lists.html# git>.