32 Commits

Author SHA1 Message Date
Kovid Goyal
2ceddba923 goto_session: Add --sort-by=alphabetical
Have the interactive session picker list the sessions in a fixed order
rather than by most recent.
2025-09-29 13:03:23 +05:30
Kovid Goyal
24e0bbd50e Add save_as_session action
Docs need to be updated.
2025-08-16 06:32:42 +05:30
Kovid Goyal
2f921d6dec Proper handling of disabled cli flags 2025-04-29 10:26:28 +05:30
Kovid Goyal
cd872d505f Better fix for missing cls and name options on macOS 2025-04-29 09:06:52 +05:30
Kovid Goyal
83bb1553f7 Allow changing panel CLI defaults 2025-04-28 16:25:53 +05:30
Kovid Goyal
2e64588426 make mypy happy 2025-04-28 10:43:53 +05:30
Kovid Goyal
3f00dc1c9e Work on improving CLI parsing
Can now set bool values explicitly with =
Handle multi short flag args like -abc
Add unit tests for CLI parsing
Generate go code to serialize CLI options as a cmdline

TODO: Implement setting of bool vals in C and Go parsing code
TODO: Help/rst output should somehow indicate this feature
2025-04-26 09:01:54 +05:30
Kovid Goyal
77416d0fc8 Make mypy happy 2025-02-07 12:57:17 +05:30
Kovid Goyal
f1d0d0949b Run pyupgrade to update the codebase to python 3.9
Gets rid of a lot of typing ugliness by using type annotations on
builtin types
2024-07-31 07:55:27 +05:30
Kovid Goyal
2be91d73dd Move the query_terminal implementation to Go 2024-06-24 07:54:14 +05:30
Kovid Goyal
54548931b5 Allow running mappable actions via remote control
Saves me having to define a special remote control wrapper for every
mappable action.
2024-02-10 13:23:06 +05:30
Kovid Goyal
065b17ddbd kitten @ load-config: Allow (re)loading kitty.conf via remote control 2024-02-07 11:08:55 +05:30
Kovid Goyal
326b81a970 Port the show_error kitten to Go 2023-06-26 17:52:31 +05:30
Kovid Goyal
00b3437a05 Remove python implementation of SSH kitten 2023-02-28 12:42:30 +05:30
Kovid Goyal
7fe5d7b58f Replace isort with ruff 2023-01-09 16:47:42 +05:30
Kovid Goyal
5d42d1f955 Remove the old python icat implementation
Keep the python backend code as it is used by the diff kitten to display
image diffs.
2023-01-05 19:34:12 +05:30
Kovid Goyal
fadae42715 Work on parsing copy instructions 2022-03-03 21:24:45 +05:30
pagedown
ba0f61d752 Refactor: More f-string for kitty 2022-01-29 20:17:46 +08:00
Kovid Goyal
66a7c3bc4d Simplify handling of --no-response 2021-10-30 12:15:37 +05:30
Kovid Goyal
6546c1da9b run pyupgrade to upgrade the codebase to python3.6 2021-10-21 12:43:55 +05:30
Kovid Goyal
672cf9fffe Start work on transfer kitten 2021-08-25 11:38:41 +05:30
Kovid Goyal
d916ecc4f3 Add a non-interactive mode to the themes kitten 2021-08-08 07:57:14 +05:30
Kovid Goyal
6d7df1c5e8 Refactor configuration file parsing
Now the time for importing the kitty.config module has been halved, from
16ms from 32ms on my machine. Also, the new architecture will eventually
allow for auto generating a bunch of python-to-C boilerplate code.
2021-05-31 17:40:49 +05:30
Kovid Goyal
28b4fe5cb6 A new show_key kitten
Fixes #3556
2021-04-29 13:10:20 +05:30
Kovid Goyal
f481c17732 The broadcast kitten
Fixes #1569
2020-12-01 13:11:32 +05:30
Kovid Goyal
6a755bda45 A new kitten to easily query kitty for config values 2020-10-07 13:35:16 +05:30
Kovid Goyal
d6e27e776b Start work on the remote_file kitten
Easy access to files over SSH
2020-09-12 06:36:41 +05:30
Kovid Goyal
917559f883 more typing work 2020-03-13 16:13:26 +05:30
Kovid Goyal
308d171dae More typing work 2020-03-08 18:55:30 +05:30
Kovid Goyal
cc1336a616 More typing work
Also use a mypy based linter when editing
2020-03-08 11:02:14 +05:30
Kovid Goyal
9b32f18109 Refactor remote control commands into individual modules
Also add type information
2020-03-08 08:39:26 +05:30
Kovid Goyal
f05890719d Add type checking for the various CLI options objects 2020-03-05 15:47:12 +05:30