Commit Graph
290 Commits
Author SHA1 Message Date
Kovid Goyal 1c48ec7196 Allow passing a "reset" argument to resize_window 2022-02-11 08:16:17 +05:30
pagedown 8ae273ee3a Simplify reassembling for the command 2022-02-06 19:24:02 +08:00
Kovid Goyal 7c36c19de0 Cleanup previous PR 2022-02-06 06:31:56 +05:30
pagedown b47711e23a Fix kitty_exe() being executed when the script doesn't have shebang 2022-02-05 20:28:06 +08:00
pagedown 3dfdb3ac89 Fix missing args when running a script without exec perms via launch 2022-02-05 20:28:06 +08:00
pagedown f1b6fb397b Remove redundant variable assignment 2022-01-01 21:28:55 +08:00
pagedown 02a7316342 Use the unified PATH search function 2021-12-09 11:32:30 +08:00
Kovid Goyal d372b27ccd Ensure active window is updated when taking over a tab 2021-11-30 14:28:50 +05:30
Kovid Goyal 495b29bf21 Make nth_window focus the last window for numbers larger than the number of windows
Fix #4262
2021-11-22 22:02:07 +05:30
Kovid Goyal 4318d2d7d0 Cleanup previous PR
Doesnt need a separate changelog entry as its covered by the entry for
focus_visible_window
2021-11-09 22:23:48 +05:30
Kovid Goyal 49a0e8e242 Move close_window from Tab to Boss
We might eventually implement OS Window level floating windows
and the close_window action actually used the Boss method anyway
2021-11-06 10:45:07 +05:30
Kovid Goyal dc09a5183a Exclude the currently active window when visually selecting 2021-10-31 11:37:38 +05:30
Kovid Goyal 816360c275 A new remote control command to visually select a window
Fixes #4165
2021-10-30 13:56:48 +05:30
Kovid Goyal 40c046f86b ooops 2021-10-28 08:17:16 +05:30
Kovid Goyal c899eb4ee3 Add more type annotations 2021-10-27 13:44:12 +05:30
Kovid Goyal 4494ddd8ff mypy: Turn on return value checks
Its a shame GvR is married to "return None"
https://github.com/python/mypy/issues/7511
2021-10-26 22:39:14 +05:30
Kovid Goyal f78feb5abf Allow very long middle clicks to close tabs 2021-10-25 12:23:54 +05:30
Kovid Goyal 37692119e1 Close tab on middle click release not press
Fixes the problem of close causing the tabbar to disappear which could
cause the subsequent release to be delivered to the remaining kitty
window
2021-10-25 10:56:10 +05:30
Kovid Goyal 0d94ca5399 Better fix for closing non-active tab 2021-10-25 08:11:50 +05:30
Kovid Goyal 13b900faf7 Activate tab before closing on middle click
Also fix compilation on macOS
2021-10-25 07:50:05 +05:30
Kovid Goyal 32ad75c5ab Workaround mypy bug 2021-10-24 23:03:33 +05:30
Kovid Goyal b316e97a4f Allow middle clicking on a tab to close it
Fixes #4151
2021-10-24 22:56:30 +05:30
Kovid Goyal be8fc47c5f Also report enabled_layouts in kitty @ ls 2021-10-21 16:41:05 +05:30
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 716ff187f9 kitty @ set-enabled-layouts
Fixes #4129
2021-10-17 18:30:34 +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 5afb16ab8d A new remote control command to change tab color
Fixes #1287
2021-10-12 12:48:25 +05:30
Kovid Goyal 25e9ddb4a4 Fix type signature 2021-09-23 20:27:33 +05:30
Kovid Goyal f3b601aa06 Make it clear what rects we are using for extra blank rects 2021-09-23 16:19:12 +05:30
Kovid Goyal 5bc569c4dd Allow specifying whether to count windows at prompts or not for confirm_clsoe 2021-08-20 17:13:42 +05:30
Kovid Goyal 2a634af2bc When confirming close commands dont count windows sitting at shell prompts 2021-08-18 10:06:10 +05:30
Kovid Goyal 4333552523 Matching windows/tabs: allow matching by recency
``recent:0`` matches the active window/tab, ``recent:1`` matches the
previous window/tab and so on
2021-08-16 18:29:06 +05:30
Kovid Goyal 276a82d1f7 Make get_all_actions() work in binary builds 2021-08-05 06:10:41 +05:30
Kovid Goyal 17ff317d30 Allow specifying additional targets for detach_window 2021-07-28 21:50:09 +05:30
Kovid Goyal bb0c831601 Fix #3878 2021-07-28 18:22:08 +05:30
Kovid Goyal 9c9d68561e When calling the active tab idx setter do not re-record the current tab in the active tab history if the current tab will not actually change. Fixes #3871 2021-07-27 09:12:35 +05:30
Kovid Goyal 4b889750db Add a new variable `{num_window_groups}` for tab_title_template
See #3837
2021-07-16 19:25:24 +05:30
Kovid Goyal c6938c9039 Add some missed actions 2021-07-02 21:43:18 +05:30
Kovid Goyal 050c31094b toggle_layout action to zoom/unzoom active window 2021-07-01 17:57:00 +05:30
Kovid Goyal 6a4668974b Forgot to mark layout actions 2021-07-01 17:38:26 +05:30
Kovid Goyal 64810e0e0b Add some missing blank lines before code blocks 2021-07-01 07:22:49 +05:30
Kovid Goyal b0edbf2857 Mark more actions 2021-06-29 22:21:01 +05:30
Kovid Goyal 91f0da9dcd Document actions in the tab object 2021-06-29 20:12:39 +05:30
Kovid Goyal ec31a36fd9 Fix reloading of various settings 2021-06-07 08:27:58 +05:30
Kovid Goyal c827a29a7b Use the new get_options() function
Nicer than carrying around opts objects everywhere
2021-05-24 12:29:11 +05:30
Kovid Goyal 02fb020dfd Better fix for minimal border layout issue
Keep _set_dimensions() private
2021-05-17 15:30:03 +05:30
Kovid Goyal bac6ebdf95 Fix incorrect border drawing when multiple tabs and multiple OS Windows are present and some of the OS Windows have tab bars and some dont
Fixes #3634
2021-05-17 15:04:33 +05:30