Commit Graph

12904 Commits

Author SHA1 Message Date
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
Kovid Goyal
77292a16d6 Make shebangs consistent
Follow PEP 0394 and use /usr/bin/env python so that the python in the
users venv is respected. Not that the kitty python files are meant to be
executed standalone anyway, but, whatever.

Fixes #6810
2023-11-11 08:32:05 +05:30
Kovid Goyal
2402c6f253 Fix failing tests 2023-11-10 08:56:22 +05:30
Kovid Goyal
77140fc798 Fix #6803 2023-11-10 08:49:33 +05:30
Kovid Goyal
cda97b5451 string changes 2023-11-08 19:35:02 +05:30
Kovid Goyal
b247fda672 version 0.31.0 v0.31.0 2023-11-08 13:15:45 +05:30
Kovid Goyal
8dfe1fcca9 Ensure clenup is run even when ssh child is killed by interrupt 2023-11-06 22:02:06 +05:30
Kovid Goyal
a6f13a64dc Allow only printable ascii in echo 2023-11-06 21:28:25 +05:30
Kovid Goyal
bd5fcb00e0 Fix regression that broke quick exit from ssh kitten 2023-11-06 21:22:41 +05:30
Kovid Goyal
ac2ec44a7f python 3.10+ requires PY_SSIZE_T_CLEAN 2023-11-06 14:41:45 +05:30
Kovid Goyal
d2444bae80 Merge branch 'dependabot/go_modules/all-go-deps-32cfe409cb' of https://github.com/kovidgoyal/kitty 2023-11-06 09:20:13 +05:30
dependabot[bot]
a6571ba8db Bump the all-go-deps group with 2 updates
Bumps the all-go-deps group with 2 updates: [github.com/shirou/gopsutil/v3](https://github.com/shirou/gopsutil) and [golang.org/x/sys](https://github.com/golang/sys).


Updates `github.com/shirou/gopsutil/v3` from 3.23.9 to 3.23.10
- [Release notes](https://github.com/shirou/gopsutil/releases)
- [Commits](https://github.com/shirou/gopsutil/compare/v3.23.9...v3.23.10)

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

---
updated-dependencies:
- dependency-name: github.com/shirou/gopsutil/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-go-deps
- dependency-name: golang.org/x/sys
  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-06 03:44:18 +00:00
Kovid Goyal
5fab30b36f Bump version of bundled python 2023-11-05 17:59:19 +05:30
Kovid Goyal
9a179a7e90 Add focus reporting capabilities to terminfo
See https://lists.gnu.org/archive/html/bug-ncurses/2023-10/msg00117.html
2023-11-05 15:00:13 +05:30
Kovid Goyal
bc1da5525e ssh kitten: Fix restore state not being called after interrupt 2023-11-05 08:38:04 +05:30
Kovid Goyal
995112d952 Add non-interactive options for paste sanitization 2023-11-04 07:34:46 +05:30
Kovid Goyal
169315d33d Improve paste sanitization
Replace C0 chars with their graphical equivalents and \n with \eE
which has the same visual effect. C1 chars are replaced by reverse
question mark.
2023-11-04 07:23:59 +05:30
Kovid Goyal
114b8dff51 ... 2023-11-03 20:01:33 +05:30
Kovid Goyal
61429c73c7 Wayland: Fix primary selections not working with the river compositor
Fixes #6785
2023-11-03 19:57:54 +05:30
Kovid Goyal
2aa37de6ff Only alias sudo if no systemwide terminfo db for xterm-kitty is found 2023-11-03 12:30:29 +05:30
Kovid Goyal
a54586dfa9 Add a note about dynamic config reload behavior of underline_hyperlinks 2023-11-03 09:12:17 +05:30
Kovid Goyal
b4f88b4f81 A new option to control when hyperlinks are underlined
While kitty is never going to underline detected URLs as the performance
of that is absurd, underlining hyperlinks specifically is acceptable,
since they dont require detection.

See #6766
2023-11-03 08:51:58 +05:30
Kovid Goyal
954b7f87a5 Add some docs on why no-sudo might be needed 2023-11-03 08:26:54 +05:30
Kovid Goyal
d113a6c2cf ssh kitten: Fix a regression that broken ctrl+space mapping in zsh
Fixes #6780
2023-11-03 07:16:07 +05:30
Kovid Goyal
52cebf0150 DRYer 2023-11-02 08:09:51 +05:30
Kovid Goyal
827a7d5094 Add a new interactive action to set the active window title 2023-11-02 08:05:49 +05:30
Kovid Goyal
a04d19df4a ... 2023-10-31 17:59:08 +05:30
Kovid Goyal
7e1580ef09 fish integration: Dont clobber user defined sudo function 2023-10-31 16:49:31 +05:30
Kovid Goyal
f3ece8b7c4 Update changelog 2023-10-31 16:29:04 +05:30
Kovid Goyal
be3b8fcfb7 Also use a function for sudo in fish to avoid the --edit issue 2023-10-31 16:27:21 +05:30