mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-22 00:08:04 +02:00
Change mouse_hide_wait to struct, and change mouse_show_* options to optional parameters for struct. mouse_show_* renamed to mouse_unhide_*
This commit is contained in:
@@ -56,10 +56,10 @@ def conf_parsing(self):
|
||||
|
||||
opts = p('font_size 11.37', 'clear_all_shortcuts y', 'color23 red')
|
||||
self.ae(opts.font_size, 11.37)
|
||||
self.ae(opts.mouse_hide_wait, 0 if is_macos else 3)
|
||||
self.ae(opts.mouse_show_wait, 0)
|
||||
self.ae(opts.mouse_show_threshold, 40)
|
||||
self.ae(opts.mouse_scroll_show, True)
|
||||
self.ae(opts.mouse_hide_wait[0], 0 if is_macos else 3)
|
||||
self.ae(opts.mouse_hide_wait[1], 0)
|
||||
self.ae(opts.mouse_hide_wait[2], 40)
|
||||
self.ae(opts.mouse_hide_wait[3], True)
|
||||
self.ae(opts.color23, Color(255, 0, 0))
|
||||
self.assertFalse(opts.keyboard_modes[''].keymap)
|
||||
opts = p('clear_all_shortcuts y', 'map f1 next_window')
|
||||
|
||||
Reference in New Issue
Block a user