Commit Graph
6222 Commits
Author SHA1 Message Date
Kovid Goyal f3b3d6c0ef Workaround for mypy bug 2022-11-15 22:47:53 +05:30
Kovid Goyal d9215feda5 Allow using the cwd of the original process for launch --cwd
Fixes #5672
2022-11-15 22:18:19 +05:30
pagedown 8b8263d0ff macOS: Failure to set custom app icon should not prevent launch
When running `kitty/launcher/kitty` and no bundle path is provided,
the icon of `kitty/launcher/kitty.app` should be changed instead of
the `launcher` folder.
2022-11-15 15:21:40 +08:00
Kovid Goyal 9361c62a1c Linux: Use a separate thread to play the beep sound
This is because on misconfigured systems canberra hangs while queueing a
sound to play. And these misconfigured systems are quite common in
Linux-land. See for example #5646

Sigh. Even playing a simple sound is failure prone on Linux.
2022-11-14 15:42:09 +05:30
Kovid Goyal 018811c96c Remove unused code
Completion and remote control have moved into kitty-tool
2022-11-14 15:42:09 +05:30
Kovid Goyal 129646c199 Use kitty-tool for all kitty @ incovations 2022-11-14 15:42:09 +05:30
Kovid Goyal f77d07259a Fix mutable default value in dataclass 2022-11-14 15:42:07 +05:30
Kovid Goyal 01969cae1a More useful PARSE ERROR msg for unknown @ commands 2022-11-14 15:42:05 +05:30
Kovid Goyal f57832f501 Fix spurious rebuilds of generated go code 2022-11-14 15:42:03 +05:30
Kovid Goyal 6b04c42730 update wcswidth go version to match unicode 15 update in master 2022-11-14 15:42:03 +05:30
Kovid Goyal 97716fea8b More work on merging completions with parse tree 2022-11-14 15:42:02 +05:30
Kovid Goyal bf74413c1f Work on merging completion tree with parse tree 2022-11-14 15:42:02 +05:30
Kovid Goyal 4396dede85 Get rid of the cobra dependency 2022-11-14 15:42:02 +05:30
Kovid Goyal cbc569af64 Remove no_response from json specs 2022-11-14 15:42:02 +05:30
Kovid Goyal 4cbd2a0ee0 ... 2022-11-14 15:41:59 +05:30
Kovid Goyal fd631bf402 Delegate based completion for @launch args 2022-11-14 15:41:59 +05:30
Kovid Goyal 7737369fc9 Add completion for the kittens 2022-11-14 15:41:58 +05:30
Kovid Goyal 0ff2446a1a More completion work 2022-11-14 15:41:58 +05:30
Kovid Goyal 946d44c43f Implement completespec in go 2022-11-14 15:41:58 +05:30
Kovid Goyal 26d4f5bcc9 Use the new completionspec for rc cmds 2022-11-14 15:41:58 +05:30
Kovid Goyal c5afceb4cb Basic completion for options 2022-11-14 15:41:57 +05:30
Kovid Goyal c9d986f9a8 args completion for rc commands 2022-11-14 15:41:57 +05:30
Kovid Goyal d4b67f3b6a ... 2022-11-14 15:41:57 +05:30
Kovid Goyal 6672904e64 Fix spurious error message when setting image to none 2022-11-14 15:41:55 +05:30
Kovid Goyal 905c4d641c Allow using many image formats in RC commands 2022-11-14 15:41:55 +05:30
Kovid Goyal 7325921070 Allow cancel async commands without auth 2022-11-14 15:41:55 +05:30
Kovid Goyal 93d08011f1 ... 2022-11-14 15:41:54 +05:30
Kovid Goyal 65c3630099 send_text other than from stdin works 2022-11-14 15:41:54 +05:30
Kovid Goyal 0a2455c8be Get scroll_window working 2022-11-14 15:41:54 +05:30
Kovid Goyal bacca88213 Get set_font_size working 2022-11-14 15:41:54 +05:30
Kovid Goyal 364533b1ed Work on supporting streaming remote commands with passwords 2022-11-14 15:41:54 +05:30
Kovid Goyal 192eccc6cc More work on porting rc commands 2022-11-14 15:41:54 +05:30
Kovid Goyal a4b2e2a196 more work on porting command parsing to Go 2022-11-14 15:41:54 +05:30
Kovid Goyal 6f4968305a more work on porting rc command parsing to Go 2022-11-14 15:41:54 +05:30
Kovid Goyal 79c8862d4c Work on conversion of args parsing to go code 2022-11-14 15:41:53 +05:30
Kovid Goyal ef71b071db Automap a bunch of json fields from identically named options 2022-11-14 15:41:53 +05:30
Kovid Goyal 43b35f6f4e Move GoOption migration code to cli.py for re-use 2022-11-14 15:41:53 +05:30
Kovid Goyal 91c61478dd Start work on easily generating ANSI formatted strings 2022-11-14 15:41:53 +05:30
Kovid Goyal 05d768d8df Generate a wcwidth for Go as well 2022-11-14 15:41:49 +05:30
Kovid Goyal d6ed20323b Implement key event parsing and matching 2022-11-14 15:41:49 +05:30
Kovid Goyal 417c8887b9 Start on testing infra for command to JSON serialization 2022-11-14 15:41:47 +05:30
Kovid Goyal 47feb73cdf Code to generate structs for JSON marshalling 2022-11-14 15:41:47 +05:30
Kovid Goyal a32251cab4 Handle aliased flags 2022-11-14 15:41:46 +05:30
Kovid Goyal 2d466f343d Finish mapping of python cli opt to go cli opt 2022-11-14 15:41:46 +05:30
Kovid Goyal fb4c7db25e Add a test for existence of kitty-tool 2022-11-14 15:41:45 +05:30
Kovid Goyal 77f7ce82c0 Parse global options 2022-11-14 15:41:45 +05:30
Kovid Goyal 10b74d0703 Update documentation of --to 2022-11-14 15:41:45 +05:30
Kovid Goyal a7f0a471ed Dont fail to output usage when less is not present 2022-11-14 15:41:44 +05:30
Kovid Goyal c04b002d4e Use a pager for displaying usage, matches kitty behavior
Also dont tell less to squeeze lines
2022-11-14 15:41:44 +05:30
Kovid Goyal 46840df1ad CLI help output make kitty.conf a clickable URL 2022-11-14 15:41:43 +05:30