Commit Graph
46 Commits
Author SHA1 Message Date
Kovid Goyal 0af48a4d05 Start work on implementing edit-in-kitty in kitty-tool 2022-11-17 17:05:25 +05:30
Kovid Goyal 3e4df7d812 ... 2022-11-16 19:06:22 +05:30
pagedown 5dc97af4d5 Add completion for kitty +list-fonts 2022-11-16 20:23:58 +08:00
Kovid Goyal e70c021371 Some basic TUI widgets ported to Go 2022-11-16 12:48:47 +05:30
Kovid Goyal 8d12e60f62 Set a flag available at runtime when cross compiling kitty-tool 2022-11-15 15:04:28 +05:30
Kovid Goyal 7c23536bfe Start work on readline completions 2022-11-14 15:42:08 +05:30
Kovid Goyal 388e47a2df DRYer 2022-11-14 15:42:08 +05:30
Kovid Goyal dc787a6529 Allow pretty printing members of the Action enum 2022-11-14 15:42:08 +05:30
Kovid Goyal f57832f501 Fix spurious rebuilds of generated go code 2022-11-14 15:42:03 +05:30
Kovid Goyal 654bd23109 DRYer 2022-11-14 15:42:03 +05:30
Kovid Goyal d2a2af9672 Add completion for kitty-tool 2022-11-14 15:42:02 +05:30
Kovid Goyal 3bd4fd999a All completion tests pass again 2022-11-14 15:42:02 +05:30
Kovid Goyal 262e2fb7a3 Various fixes from the completion merge 2022-11-14 15:42:02 +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 97acb60981 Move completion package into cli 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 2cacd7a64a get rid of interface{} since we now require Go 1.18 2022-11-14 15:42:00 +05:30
Kovid Goyal 928a4db817 Implement delegate based completion fof the ssh and hyperlinked_grep kittens 2022-11-14 15:41:59 +05:30
Kovid Goyal 67f556bd7c Add completion for the launch wrappers 2022-11-14 15:41:58 +05:30
Kovid Goyal 7737369fc9 Add completion for the kittens 2022-11-14 15:41:58 +05:30
Kovid Goyal 25a7ec9a07 Extra completion for some kitty options 2022-11-14 15:41:58 +05:30
Kovid Goyal c2a2b4c087 Add various special purpose entry points 2022-11-14 15:41:58 +05:30
Kovid Goyal 3bf20594b7 Wire up completion for rc command options 2022-11-14 15:41:58 +05:30
Kovid Goyal 0ff2446a1a More completion work 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 5d89a6c3c4 Work on completion of file args 2022-11-14 15:41:57 +05:30
Kovid Goyal 833e9625f9 Add a generated comment in *_generated.go in the style used by go generate 2022-11-14 15:41:57 +05:30
Kovid Goyal 54378de52b More work on command completion 2022-11-14 15:41:56 +05:30
Kovid Goyal 63287e4115 More work on completions 2022-11-14 15:41:56 +05:30
Kovid Goyal d0efe00449 Use replace_if_needed() for at commands 2022-11-14 15:41:56 +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 a388a658ce Fix payload update code in multi send commands 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 387333492b Generate color names and table for Go
Also exclude generated files from gofmt checking
2022-11-14 15:41:53 +05:30
Kovid Goyal 0aa05b02e8 Cleanup 2022-11-14 15:41:52 +05:30
Kovid Goyal 5412a0126c we generate more than just rc commands 2022-11-14 15:41:52 +05:30