Commit Graph
103 Commits
Author SHA1 Message Date
Kovid Goyal 46f88494e3 Merge branch 'feat-sel-win-reactivate-prev-tab' of https://github.com/page-down/kitty 2021-11-06 11:44:40 +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
pagedown 7a66c1a01c Allow select-window to reactivate previously activated tab 2021-11-06 09:32:36 +08:00
pagedown abf9cce6bf When the color is set to none get-colors should not return a color value 2021-11-04 18:27:55 +08:00
pagedown 40ff78b1c8 Handle set colors exceptions 2021-11-03 12:55:05 +08:00
pagedown b4a6ed8d8f Allows the visual bell color to be configured 2021-11-02 19:38:36 +08:00
Kovid Goyal d53d92b890 Proper handling of async responses to peers 2021-10-31 21:09:24 +05:30
Kovid Goyal 336c7ddca8 DRYer 2021-10-31 15:41:19 +05:30
Kovid Goyal b1c0398bba Avoid unnecessary CPU churn when reading from stdin for @ send-text 2021-10-31 14:04:07 +05:30
Kovid Goyal 6310517ff2 @ send-text: Fix reading from stdin when RC is over a socket 2021-10-31 13:55:11 +05:30
Kovid Goyal 23570cc5f7 ... 2021-10-31 11:55:00 +05:30
Kovid Goyal dc09a5183a Exclude the currently active window when visually selecting 2021-10-31 11:37:38 +05:30
Kovid Goyal 8458b9e7d6 Allow specifying a title for @ select-window 2021-10-31 11:08:28 +05:30
Kovid Goyal 70a01955b8 Fix timeout of @ select-window not canceling the visual select 2021-10-31 09:38:55 +05:30
Kovid Goyal e703103fa8 Merge branch 'bgimage-options' of https://github.com/itepechi/kitty into bg 2021-10-30 15:04:41 +05:30
Kovid Goyal 6241369b6c Cancel an async request on timeout so no spurious data is sent to the tty 2021-10-30 14:46:48 +05:30
Kovid Goyal 2a637e4220 Simplify sending of async response 2021-10-30 14:10:09 +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 c541d7e349 Document --self in the launch rc protocol 2021-10-30 12:36:58 +05:30
Kovid Goyal c3daa969fa Allow individual commands to control the response timeout 2021-10-30 12:20:37 +05:30
Kovid Goyal 66a7c3bc4d Simplify handling of --no-response 2021-10-30 12:15:37 +05:30
itepechi 87d79c7415 Change the naming of directions in option background_image_anchor for consistency
Replaced cardinal directions with "relative" directions.
2021-10-30 04:34:33 +09:00
itepechi 86d7aaa03a Add clamped to option background_image_layout 2021-10-30 04:34:33 +09:00
itepechi 2aa01c58a1 Add option background_image_anchor to configure bgimage position 2021-10-30 04:34:32 +09:00
Kovid Goyal 1251f9ec80 Keep the list of nullable colors up to date automatically 2021-10-28 15:21:42 +05:30
Kovid Goyal 702bfccfa2 Allow reverse video for the mouse selection
Fixes #646
2021-10-28 15:01:48 +05:30
Kovid Goyal 0c1a7347db Mark another nullable color 2021-10-28 14:38:09 +05:30
Kovid Goyal 2443dc135c Use a faster implementation of the Color type
Now implemented in C
2021-10-28 11:15:13 +05:30
Kovid Goyal 0fdafd8398 Allow rendering the cursor with reverse video
Also clean up handling of dynamic global colors.
TODO: Implement none for selection_fg
TODO: Add some tests
TODO: Check that changing colors via remote control works

Fixes #126
2021-10-28 00:21:12 +05:30
Kovid Goyal a26f041964 Add more type annotations 2021-10-27 12:31:10 +05:30
Kovid Goyal 69e903a4c4 Add more type annotations 2021-10-27 11:13:28 +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 4385acd3c6 A new option to set the tab bar margin color independently 2021-10-25 12:21:46 +05:30
Kovid Goyal 63e23d7fe3 Fix set-colors unable to set tab_bar_background to none 2021-10-25 10:04:25 +05:30
Kovid Goyal 6546c1da9b run pyupgrade to upgrade the codebase to python3.6 2021-10-21 12:43:55 +05:30
Kovid Goyal 7f2ce045ab Handle deprecation of importlib.resources APIs 2021-10-19 09:14:58 +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 5afb16ab8d A new remote control command to change tab color
Fixes #1287
2021-10-12 12:48:25 +05:30
Kovid Goyal d55d8ac091 ... 2021-10-12 10:40:25 +05:30
Kovid Goyal 1d1d55e2b4 Fix #4084 2021-10-02 05:10:59 +05:30
Kovid Goyal 6daee3a0b5 @get-text: Allow getting the last command output 2021-09-02 10:13:54 +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 f692d586f7 Fix type checking in send_text 2021-07-29 09:04:07 +05:30
Kovid Goyal d3d3e99979 broadcast kitten: Fix decoding of key events
No clue why mypy didnt catch this error
2021-07-29 08:55:34 +05:30
Kovid Goyal 1bd39ff935 Use new URL scheme and define the kitty website centrally as much as possible 2021-07-27 09:03:11 +05:30
Kovid Goyal 419cf78984 A new remote control command to resize OS Windows 2021-07-25 22:57:00 +05:30
Kovid Goyal 5e4c98eae6 Remote control: Allow matching tabs by index number in currently active OS Window
Fixes #3708
2021-06-11 09:12:08 +05:30
Kovid Goyal 099fed07e9 Note that set-font-size --all changes configured size 2021-06-05 09:39:10 +05:30
Kovid Goyal 79dd98b20e Use a more efficient representation of the color table on the Options object 2021-06-03 22:17:37 +05:30