mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
feat(config): add mgr.mouse_double_click_delay setting
This commit is contained in:
parent
3f5cc47a48
commit
1db4e1c9d3
2 changed files with 11 additions and 9 deletions
|
|
@ -16,6 +16,7 @@ show_hidden = false
|
|||
show_symlink = true
|
||||
scrolloff = 5
|
||||
mouse_events = [ "click", "scroll", "drag" ]
|
||||
mouse_double_click_delay = 300
|
||||
|
||||
[preview]
|
||||
wrap = "no"
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@ pub struct Mgr {
|
|||
pub show_symlink: SyncCell<bool>,
|
||||
pub scrolloff: SyncCell<u8>,
|
||||
pub mouse_events: SyncCell<MouseEvents>,
|
||||
pub mouse_double_click_delay: SyncCell<u16>,
|
||||
}
|
||||
|
||||
fn deserialize_linemode<'de, D>(deserializer: D) -> Result<ArcSwap<String>, D::Error>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue