Scroll sideways with Shift or Alt and the wheel, and in the outline
A wheel that tilts (or a touchpad) already panned the canvas sideways, but only when the terminal passes those events on, and many don't: Windows Terminal only does since 1.24, and Windows' own console layer can drop them. The wheel with Shift held now scrolls sideways too, as in most apps, and so does Alt, since Alacritty and Windows Terminal keep Shift with the mouse for selecting text. The outline scrolls sideways as well (the wheel, zh and zl), for rows wider than its pane: a deep tree or a long title. Clicks land where the rows are, however far they're scrolled, and when the cursor moves its title comes back into view. Fixed on the way: the wheel turned sideways over the help, the menu, a picker or the K card moved it up. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
c587c42115
commit
e6f3c06ecc
8 files changed
+203
-16
No files matched your search
+4
-3
@@ -40,9 +40,10 @@
|
||||
//! again: done. A body is edited the same way, with Enter starting a line.
|
||||
//!
|
||||
//! Mouse: click selects (and focuses a pane), dragging a node moves its
|
||||
//! branch, dragging empty space pans, the wheel scrolls. A double-click on a
|
||||
//! title edits it from that letter. Right-click: the menu. A click on a name
|
||||
//! in the document bar shows that document.
|
||||
//! branch, dragging empty space pans, the wheel scrolls (sideways: a wheel
|
||||
//! that tilts, a touchpad, or Shift or Alt with the wheel). A double-click on
|
||||
//! a title edits it from that letter. Right-click: the menu. A click on a
|
||||
//! name in the document bar shows that document.
|
||||
|
||||
use std::io;
|
||||
use std::time::{Duration, Instant};
|
||||
|
||||
Reference in new issue
Block a user