mirror of
https://github.com/wez/wezterm.git
synced 2024-11-23 23:21:08 +03:00
selection: reduce gap used for scrolling viewport
This doesn't fix https://github.com/wez/wezterm/issues/354 but perhaps makes it a bit less annoying.
This commit is contained in:
parent
6b0fef18f0
commit
d837dc45a1
@ -99,8 +99,8 @@ impl super::TermWindow {
|
||||
|
||||
// This is similar to the logic in the copy mode overlay, but the gap
|
||||
// is smaller because it feels more natural for mouse selection to have
|
||||
// a smaller gpa.
|
||||
const VERTICAL_GAP: isize = 2;
|
||||
// a smaller gap.
|
||||
const VERTICAL_GAP: isize = 1;
|
||||
let dims = pane.get_dimensions();
|
||||
let top = self
|
||||
.get_viewport(pane.pane_id())
|
||||
|
Loading…
Reference in New Issue
Block a user