mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-11-19 22:55:29 +00:00
Dragging the mouse over text drawn in the tab bar outside the tabs, such as text a custom tab_bar.py draws below the tabs of a vertical tab bar, selects it, and releasing the button copies it like a window selection (primary selection, then copy_on_select). Clicks and double clicks on empty space and presses on tabs behave as before. Based on the draft in #10870, with these additions: - Movement within drag_threshold selects nothing, so a slightly jittery double click on text still opens a new tab. - A selection whose release was lost does not keep capturing the mouse: it is cancelled by a press outside the tab bar (which then goes to its normal target), by motion with no button held, by any press in the tab bar, and by the OS window losing focus. - The pointer shape is reset after the press or release that starts or ends a selection, instead of being left as the drag shape. Fixes #10869 Closes #10870 |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| atexit.py | ||
| base.py | ||
| CascadiaCode-Regular.otf | ||
| check_build.py | ||
| child.py | ||
| choose_files.py | ||
| clipboard.py | ||
| ComfyCode-Regular.ttf | ||
| command_palette.py | ||
| completion.py | ||
| crypto.py | ||
| datatypes.py | ||
| dnd.py | ||
| dnd_kitten.py | ||
| docks.py | ||
| edit_in_kitty.py | ||
| file_transmission.py | ||
| FiraCode-Medium.otf | ||
| fonts.py | ||
| glfw.py | ||
| gr.py | ||
| GraphemeBreakTest.json | ||
| graphics.py | ||
| hints.py | ||
| iosevka-regular.ttf | ||
| iterable_arguments.py | ||
| keys.py | ||
| layout.py | ||
| LiberationMono-Regular.ttf | ||
| main.py | ||
| mouse.py | ||
| multicell.py | ||
| notifications.py | ||
| notify.py | ||
| open_actions.py | ||
| options.py | ||
| panels.py | ||
| parser.py | ||
| program_status.py | ||
| remote_control.py | ||
| resize_edge.py | ||
| resize_fraction.py | ||
| screen.py | ||
| search_query_parser.py | ||
| selection_drag.py | ||
| sessions.py | ||
| shell_integration.py | ||
| shm.py | ||
| single_instance.py | ||
| slang.py | ||
| ssh.py | ||
| tab_bar.py | ||
| tab_drop.py | ||
| tab_workspaces.py | ||
| tui.py | ||
| twemoji_smiley-cff2_colr_1.otf | ||
| utmp.py | ||