Commit Graph
7891 Commits
Author SHA1 Message Date
Kovid Goyal 4fd76b09d9 kitty @ ls: Also report layout options 2021-10-21 13:44:06 +05:30
Kovid Goyal 6546c1da9b run pyupgrade to upgrade the codebase to python3.6 2021-10-21 12:43:55 +05:30
Kovid Goyal 8f0b3983ee Apparently only importlib_resources has actually deprecated contents() 2021-10-20 11:15:51 +05:30
Kovid Goyal 7f2ce045ab Handle deprecation of importlib.resources APIs 2021-10-19 09:14:58 +05:30
Kovid Goyal 38f1fe7742 Make --override parsing a little more forgiving
Handle option values with = in them even if the user uses a space
as a separator rather than an =
2021-10-18 22:44:10 +05:30
Kovid Goyal a099d2364d kitty should not quit if an invalid set_colors mapping is configured 2021-10-18 21:20:48 +05:30
Kovid Goyal 5f91084968 More work on file transfer 2021-10-18 13:02:37 +05:30
Kovid Goyal cb9321e925 handle comma separated layout lists as well 2021-10-17 18:34:02 +05:30
Kovid Goyal 716ff187f9 kitty @ set-enabled-layouts
Fixes #4129
2021-10-17 18:30:34 +05:30
Kovid Goyal 16365f2014 When creating tabs via @ launch with the --match option create the tab in the OS Window containing the result of the match rather than the active OS Window
Fixes #4126
2021-10-17 13:27:52 +05:30
Kovid Goyal 0fa03da18c ... 2021-10-17 12:54:55 +05:30
Kovid Goyal a4a7d49bed A new swap_with_window mappable action
Allows visual selection of a window to swap with the current window
2021-10-17 12:52:08 +05:30
Kovid Goyal 0de319fc73 Refactor visual window select infrastructure to make it reuseable 2021-10-17 12:38:03 +05:30
Kovid Goyal c06823dd47 Function to swap active window with another 2021-10-17 11:42:02 +05:30
Kovid Goyal f9944e6140 Pass through more modifier+tab variants 2021-10-17 11:31:54 +05:30
Kovid Goyal 426815f7ab Silence CodeQL warning 2021-10-17 10:32:25 +05:30
Kovid Goyal 2a842e36a1 Finish up title rendering for CoreText 2021-10-17 08:26:35 +05:30
Kovid Goyal 90dfabc644 Use realpath() when reporting kitty_exe 2021-10-17 06:30:26 +05:30
Kovid Goyal f302c2ae39 Binary builds: If a symlink to the correct kitty executable is already in PATH, dont add the binary bin dir to PATH 2021-10-17 06:29:01 +05:30
Kovid Goyal 93aee3946f Partial work on macOS title rendering 2021-10-16 19:12:38 +05:30
Kovid Goyal 4b7de5d802 Add an alias for --keep-focus 2021-10-16 19:02:15 +05:30
Kovid Goyal 78c63e6a18 Show window titles during visual select
Still has to be implemented on macOS
2021-10-15 14:19:56 +05:30
Kovid Goyal dcda2bff69 Handle more than 10 windows when doing a visual switch 2021-10-15 14:05:54 +05:30
Kovid Goyal 372c4da8f9 When drawing cells make the window object available 2021-10-15 10:25:11 +05:30
Kovid Goyal a95025752a DRYer 2021-10-15 09:56:22 +05:30
Kovid Goyal a16ffcdde2 Handle mouse clicks when displaying focus window overlay 2021-10-15 09:55:15 +05:30
Kovid Goyal 3c2e521dd7 Make blending of foreground more efficient
Avoids an unnecessary reversal of premultiplication when rendering
interleaved.  Also fixes rendering on wayland which for some reason was
using a different blend function than X11. Fixes #4120
2021-10-14 21:31:20 +05:30
Kovid Goyal f28d9bcd8c Change sybolic constant for insert key 2021-10-14 21:05:21 +05:30
Kovid Goyal c6039fc399 Also passthrough Insert and Shift+Insert which cocoa seems to intercept 2021-10-14 20:27:22 +05:30
Kovid Goyal 706494016c More work on file transmission 2021-10-14 18:29:02 +05:30
Kovid Goyal a653233050 Fix #4117 2021-10-14 14:31:11 +05:30
Kovid Goyal ed5accd702 Add some common readline bindings to the line editor 2021-10-14 14:29:44 +05:30
Kovid Goyal 3a247be758 cleanups 2021-10-14 14:07:02 +05:30
Kovid Goyal d417aedde0 Allow use of numpad for window select overlay 2021-10-14 12:14:11 +05:30
Kovid Goyal 967aaad482 ... 2021-10-14 10:07:54 +05:30
Kovid Goyal 9c4942b190 Ensure mouse cursor shape is correct
Previously, the shape was only set on focus in events and when hovering
urls. However, on macOS there are no focus events generated when the
mouse moves between the window and the titlebar/menubar, thus causing
incorrect mouse shape.

Fix #4118
2021-10-14 10:05:44 +05:30
Kovid Goyal 67fd07a92a ... 2021-10-14 09:57:35 +05:30
Kovid Goyal 533b0ed591 A new mappable action select_window_in_tab to select a window in the current tab to switch to, by window title
Also when using the focus_visible_window action in a layout that shows
only a single window such as the stack layout, use this facility
automatically.
2021-10-14 09:19:22 +05:30
Kovid Goyal 3f1a0baa84 DRYer 2021-10-14 08:57:55 +05:30
Kovid Goyal 8057c420d9 Fix resize-os-window slightly incorrect on high DPI
Caused by premature clamping of a floating point number
2021-10-12 19:40:02 +05:30
Kovid Goyal a3717436b6 macOS: Fix resize_in_steps not working correctly on high DPI screens
See #4114
2021-10-12 14:39:06 +05:30
Kovid Goyal 7852e0b618 Clarify docs 2021-10-12 12:54:51 +05:30
Kovid Goyal 5afb16ab8d A new remote control command to change tab color
Fixes #1287
2021-10-12 12:48:25 +05:30
Kovid Goyal 8187ec2cef ... 2021-10-12 12:32:15 +05:30
Kovid Goyal d55d8ac091 ... 2021-10-12 10:40:25 +05:30
Kovid Goyal e13c34c2b8 Use a bar cursor for LineEdit 2021-10-12 09:13:06 +05:30
Kovid Goyal 8630c8830a Implement shell integration for the kitty shell 2021-10-12 09:05:53 +05:30
Kovid Goyal da3f34603a DRYer 2021-10-12 07:41:52 +05:30
Kovid Goyal 97a8ff3478 Fix #4113 2021-10-12 07:35:11 +05:30
Kovid Goyal 2548896656 Dont visually focus select if only one window present 2021-10-11 20:37:59 +05:30