Commit Graph

12933 Commits

Author SHA1 Message Date
Kovid Goyal
716bf714db Fix a couple of tests 2023-11-30 11:53:09 +05:30
Kovid Goyal
f11f770011 Allow creating key mappings that depend on the state of the focused window, such as what program is running inside it 2023-11-30 11:35:30 +05:30
Kovid Goyal
8a1571f62c Add full docs for matching windows/tabs to the remote control page 2023-11-29 21:44:52 +05:30
Kovid Goyal
3876d518bd Fix setting swap interval for newly created OS window not always working 2023-11-29 21:13:10 +05:30
Kovid Goyal
72e14053f5 Simplify unmapping key/mouse button events
No need to specify the no-op action just specify no action. More
intuitive.
2023-11-28 12:37:27 +05:30
Kovid Goyal
bd7f38eb7d rg changed its help output to conform more closely to GNU conventions
Which is good I suppose, but it breaks hyperlinked_greps --help parsing.
I have updated it to match current rg which of course means it fails on
older rg.
2023-11-27 22:08:03 +05:30
Kovid Goyal
e19335377f Merge branch 'update-ask-kitten-help-msg' of https://github.com/lemontheme/kitty 2023-11-27 14:54:02 +05:30
adriaan
382d2f1ed0 Update help in main.py 2023-11-26 16:53:31 +01:00
Kovid Goyal
9bb85bd294 ask kitten: Better error message when choice letter is not present in choice text. Fixes #6855 2023-11-26 10:10:50 +05:30
Kovid Goyal
c10ea63818 Implement local filename completion for the transfer kitten 2023-11-25 07:46:30 +05:30
Kovid Goyal
4b3d29ecc3 Cant wait to drop python 3.8
Fixes #6848
2023-11-24 16:49:18 +05:30
Kovid Goyal
b297c27e09 ... 2023-11-23 19:43:37 +05:30
Kovid Goyal
6a09804910 Fix loading of window logo images via @launch
Use the path when either the pointer ORE the size is false. Apparently
some code paths pass pointers from a python y# conversion with an empty
bytestring as no value.

Fixes #6844
2023-11-23 19:34:35 +05:30
Kovid Goyal
c2b4df0666 No need to use fmemopen 2023-11-23 19:30:43 +05:30
Kovid Goyal
79f3692f1e Better PNG load error reporting 2023-11-23 19:16:43 +05:30
Kovid Goyal
35b2dcb065 ... 2023-11-23 17:25:52 +05:30
Kovid Goyal
2b751f56bd Port test 2023-11-22 10:50:05 +05:30
Kovid Goyal
882d471c90 Make config line parsing in Go use same algorithm as in python 2023-11-22 10:01:45 +05:30
Kovid Goyal
fc64ef41b3 when parsing conf files in go accept both space and tab as key separators 2023-11-22 09:49:33 +05:30
Kovid Goyal
b1e4c06220 Cleanup matching code for @ls and @send-text
Use the same utility function as other commands uses. Fixes #6835
2023-11-21 07:49:33 +05:30
Kovid Goyal
ef9dada80d Failure to change to cwd should not be fatal in bootstrap.py to match bootstrap.sh 2023-11-20 19:35:41 +05:30
Kovid Goyal
6d49686aee Merge branch 'patch-1' of https://github.com/Notarin/kitty 2023-11-19 09:32:54 +05:30
Notarin
3cbb8d5c8f Update graphics-protocol.rst
Fixed a very small typo
2023-11-18 22:36:39 -05:00
Kovid Goyal
ea28e20915 Show repology badge in 3 columns 2023-11-17 18:43:06 +05:30
Kovid Goyal
4897c4df00 Merge branch 'fish-sudo' of https://github.com/sersorrel/kitty 2023-11-17 08:39:04 +05:30
ash
b3c5b1185c Improve resilience of shell integration for sudo in fish
Running `sudo --version` will now not error out.
2023-11-17 00:24:40 +00:00
Kovid Goyal
b961e65f22 Clean up previous PR 2023-11-14 20:46:04 +05:30
Kovid Goyal
6d9593944a Merge branch 'notify_on_cmd_finish_use_bell' of https://github.com/jinliu/kitty 2023-11-14 20:40:11 +05:30
Jin Liu
a0d5f7a07b Add bell and command option to notify_on_cmd_finish
Instead of sending a desktop notification, it can be set to
ring the terminal bell or run a user-specified command.
2023-11-14 20:31:28 +08:00
Kovid Goyal
69e3e5c727 Use a boolean rather than an int 2023-11-14 16:35:01 +05:30
Kovid Goyal
04506975e5 Cleanup previous PR 2023-11-14 14:55:43 +05:30
Kovid Goyal
b5067c1369 Merge branch 'done-notification' of https://github.com/jinliu/kitty 2023-11-14 14:34:20 +05:30
Jin Liu
0f52b69372 launch watcher: add on_cmd_startstop event 2023-11-14 16:46:46 +08:00
Jin Liu
24bb28b773 Allow sending notification when a command finishes
When the option `notify_on_command_finish` is set, and a command
takes more than `notify_on_command_finish_min_duration` seconds
to execute, then when it finishes, send a desktop notification.

The value of `notify_on_command_finish` can be:
never | unfocused | invisible | always
the latter three are interpreted the same way as in the `o=` option
of the desktop notification protocol.
2023-11-14 16:46:38 +08:00
Kovid Goyal
553d833fd4 Merge branch 'dependabot/go_modules/all-go-deps-81e38e3cc5' of https://github.com/kovidgoyal/kitty 2023-11-13 08:45:40 +05:30
dependabot[bot]
2d5ce6191e Bump the all-go-deps group with 2 updates
Bumps the all-go-deps group with 2 updates: [github.com/alecthomas/chroma/v2](https://github.com/alecthomas/chroma) and [golang.org/x/image](https://github.com/golang/image).


Updates `github.com/alecthomas/chroma/v2` from 2.10.0 to 2.11.1
- [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.10.0...v2.11.1)

Updates `golang.org/x/image` from 0.13.0 to 0.14.0
- [Commits](https://github.com/golang/image/compare/v0.13.0...v0.14.0)

---
updated-dependencies:
- dependency-name: github.com/alecthomas/chroma/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-go-deps
- dependency-name: golang.org/x/image
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-go-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-13 03:09:09 +00:00
Kovid Goyal
5fe77e38b7 ... 2023-11-13 01:10:38 +05:30
Kovid Goyal
9a08489112 Fix config file reloading not working is a system config file is set and no user config file is present at startup
Fixes #6801
2023-11-13 01:02:02 +05:30
Kovid Goyal
2047ea8eec Allow package build to complete without docs if user chose to skip building kitten 2023-11-12 08:16:26 +05:30
Kovid Goyal
4d510e3318 Fix searching for kitten to build man pages on macOS 2023-11-12 07:56:03 +05:30
Kovid Goyal
87f7bd2f9e See what's going on with finding kitten in CI 2023-11-11 20:11:40 +05:30
Kovid Goyal
2ffe03ee48 mypy again 2023-11-11 20:01:28 +05:30
Kovid Goyal
4c56e76840 Fix #6812 2023-11-11 20:00:46 +05:30
Kovid Goyal
a3c8f32c1a Fix Linux CI build 2023-11-11 17:36:10 +05:30
Kovid Goyal
176ffc7f51 ... 2023-11-11 17:14:09 +05:30
Kovid Goyal
70bc4f1033 Generate man pages for kitten and all its sub-commands recursively
Fixes #6808
2023-11-11 17:09:23 +05:30
Kovid Goyal
0f2196357c Make mypy happy 2023-11-11 16:07:18 +05:30
Kovid Goyal
2759ec1fe1 Add an option to setup.py to skip building kitten
Fixes #6809
2023-11-11 15:55:56 +05:30
Kovid Goyal
dee2e83fb4 Remove no longer needed monkeypatch 2023-11-11 13:44:34 +05:30
Kovid Goyal
65754a2032 ... 2023-11-11 08:45:39 +05:30