mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-08-04 14:48:39 +00:00
config: add gtk-horizontal-tab-scroll option
Add a boolean config option to enable/disable two-finger horizontal touchpad scrolling for switching tabs. Defaults to true to preserve existing behavior. When tab scrolling is disabled or the scroll source is not a touchpad, forward horizontal scroll events to the terminal so applications like neovim can handle them. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -3649,6 +3649,12 @@ else
|
||||
/// which is the old style.
|
||||
@"gtk-wide-tabs": bool = true,
|
||||
|
||||
/// If `true` (default), then two-finger horizontal scrolling on a touchpad
|
||||
/// will switch between tabs. Scrolling left goes to the next tab and
|
||||
/// scrolling right goes to the previous tab. Set this to `false` to
|
||||
/// disable this behavior.
|
||||
@"gtk-horizontal-tab-scroll": bool = true,
|
||||
|
||||
/// Custom CSS files to be loaded.
|
||||
///
|
||||
/// GTK CSS documentation can be found at the following links:
|
||||
|
||||
Reference in New Issue
Block a user