alex-huff
0efbd66717
fix typos
2025-04-28 22:15:09 -05:00
Kovid Goyal
c92ca01ea6
More work on the docs
2025-04-29 08:36:39 +05:30
Kovid Goyal
7788d6acc2
Document the new quick-access-terminal kitten
2025-04-29 08:01:59 +05:30
Kovid Goyal
b9326f5c94
Add some formatting to CLIParser error messages
2025-04-29 07:26:48 +05:30
Kovid Goyal
8d278a741a
Merge branch 'patch-1' of https://github.com/nikelborm/kitty
2025-04-29 06:43:55 +05:30
Eva
3d00a26840
Update graphics-protocol.rst: typo fix
2025-04-29 00:09:04 +03:00
Kovid Goyal
08e2889a72
Use a conf file for the quick access terminal
...
This is needed on macOS where there is no good way to use command line
arguments when the terminal is triggerred via global shortcut key via
launch services.
2025-04-28 22:13:38 +05:30
Kovid Goyal
4d1ddd9439
QAT kitten basically works
2025-04-28 20:10:50 +05:30
Kovid Goyal
5683314784
Start work on quick-access-terminal kitten
2025-04-28 19:52:04 +05:30
Kovid Goyal
83bb1553f7
Allow changing panel CLI defaults
2025-04-28 16:25:53 +05:30
Kovid Goyal
e65031184a
Fix panel invocation
2025-04-28 16:10:38 +05:30
Kovid Goyal
9854068a59
Start work on panel kitten wrapper in Go
...
Needed because we need to use a special exe on macOS.
2025-04-28 16:07:09 +05:30
Kovid Goyal
cd75baccf2
Remove unused code
2025-04-28 15:37:08 +05:30
Kovid Goyal
909b8747d3
Add launcher test for list style options
2025-04-28 13:55:36 +05:30
Kovid Goyal
ead724ee28
DRYer
2025-04-28 13:34:45 +05:30
Kovid Goyal
b0b8e7145c
Use a memset instead of a for loop
...
Works around a GCC bug, see: #8584
2025-04-28 13:22:46 +05:30
Kovid Goyal
7fde51bd8d
Avoid double lookups of flag aliases
2025-04-28 12:53:33 +05:30
Kovid Goyal
e698fd274c
Release hash ambiguous parsing
2025-04-28 12:45:38 +05:30
Kovid Goyal
14792aa60e
Allow partial option matches in C CLI parser as well
...
Matches behavior of Go parser and is nice to have
2025-04-28 12:43:09 +05:30
Kovid Goyal
d7fb143ee0
Allow explicitly setting boolean options in Go cli parser
...
Matches C parser
2025-04-28 11:54:51 +05:30
Kovid Goyal
39bf612071
DRYer
2025-04-28 11:33:58 +05:30
Kovid Goyal
92c6d90132
Allow single char options to take =value in kittens
...
Matches kitty cli parsing behavior
2025-04-28 11:27:33 +05:30
Kovid Goyal
2e64588426
make mypy happy
2025-04-28 10:43:53 +05:30
Kovid Goyal
15781435ae
Cleanup reading of argv from files
2025-04-28 09:54:57 +05:30
Kovid Goyal
5c9c8aa424
Add unit testing for launcher code
2025-04-28 09:25:25 +05:30
Kovid Goyal
a484d6928e
Avoid multiple CLI parses just to check subcommands
2025-04-28 09:20:11 +05:30
Kovid Goyal
459d2d8649
DRYer
2025-04-28 09:20:11 +05:30
Kovid Goyal
b0ae88ada9
Wire up the codegen C cli parser
2025-04-28 09:20:11 +05:30
Kovid Goyal
3dc85838c8
...
2025-04-28 09:20:11 +05:30
Kovid Goyal
648dfec8a9
Fix re-compile of launcher on change not happening
2025-04-28 09:20:11 +05:30
Kovid Goyal
280baa224d
Preserve original argv optionally
2025-04-28 09:20:11 +05:30
Kovid Goyal
1413d8fb85
Fix handling of --help and --version
2025-04-28 09:20:11 +05:30
Kovid Goyal
9961bdf6b5
Fix set_err
2025-04-28 09:20:11 +05:30
Kovid Goyal
e3f7948ee4
Convenience functions to use in launcher code
2025-04-28 09:20:10 +05:30
Kovid Goyal
27c5b6aac5
Generate option parser in C for kitty CLI
2025-04-28 09:20:10 +05:30
Kovid Goyal
0a288ad56c
Fix memleak in CLISpec
2025-04-28 09:20:10 +05:30
Kovid Goyal
7c10ed92f7
DRYer
2025-04-28 09:20:10 +05:30
Kovid Goyal
40f0f3d3eb
Use a simple arena allocator for CLISpec
2025-04-28 09:20:10 +05:30
Kovid Goyal
d548a6fcf4
rename typing module to avoid conflicts with stdlib typing
2025-04-28 09:20:10 +05:30
Kovid Goyal
e42d410ee4
Move cli spec parsing code into simple module
2025-04-28 09:20:10 +05:30
Kovid Goyal
62699f6799
Get basic C cli parsing working
2025-04-28 09:20:10 +05:30
Kovid Goyal
527f30ffcc
Start work on moving full command line parsing to native code
2025-04-28 09:20:10 +05:30
Kovid Goyal
22d8edf7fc
Merge branch 'dependabot/go_modules/all-go-deps-12cc37cc08' of https://github.com/kovidgoyal/kitty
2025-04-28 09:19:57 +05:30
dependabot[bot]
7ddbb3cc67
Bump github.com/alecthomas/chroma/v2 in the all-go-deps group
...
Bumps the all-go-deps group with 1 update: [github.com/alecthomas/chroma/v2](https://github.com/alecthomas/chroma ).
Updates `github.com/alecthomas/chroma/v2` from 2.16.0 to 2.17.0
- [Release notes](https://github.com/alecthomas/chroma/releases )
- [Changelog](https://github.com/alecthomas/chroma/blob/master/.goreleaser.yml )
- [Commits](https://github.com/alecthomas/chroma/compare/v2.16.0...v2.17.0 )
---
updated-dependencies:
- dependency-name: github.com/alecthomas/chroma/v2
dependency-version: 2.17.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: all-go-deps
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-04-28 03:44:55 +00:00
Kovid Goyal
01415eb84c
macOS: Fix text color in visual window select ignoring the color theme
...
Fixes #8579
2025-04-27 19:49:51 +05:30
Kovid Goyal
598f9b9dac
Merge branch 'k-nine' of https://github.com/talwrii/kitty
2025-04-27 18:49:37 +05:30
Tal Wrii
c7111ec877
remove detail
2025-04-27 14:03:31 +02:00
Kovid Goyal
056e7532f6
...
2025-04-27 10:46:06 +05:30
Kovid Goyal
65d97e2379
Use os_log to report get_argv failures on Apple
2025-04-27 10:42:43 +05:30
Kovid Goyal
9ff9e50936
Also handle EINTR for fclose
2025-04-27 10:21:15 +05:30