Commit graph

12883 commits

Author SHA1 Message Date
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 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
Kovid Goyal
9d5bb3b2f2
bash integration: Also make sudo a function
There is less need in bash since its sudo completion is not as buggy,
but it does fix the sudo --edit issue
2023-10-31 15:53:45 +05:30
Kovid Goyal
492ec3dfbf
zsh integration: Use a function for sudo
This fixes sudo --edit and works around the zsh sudo completions bug:
https://www.zsh.org/mla/workers/2023/msg00983.html
2023-10-31 12:24:35 +05:30
Kovid Goyal
309a6e9319
... 2023-10-31 11:50:34 +05:30
Kovid Goyal
12db4683ac
Run local build before building docs 2023-10-31 06:18:23 +05:30
Kovid Goyal
30b736eed7
Merge branch 'override_warning' of https://github.com/joveian/kitty 2023-10-30 22:44:51 +05:30
joveian
4d085a00e1 Warn of possible graphics issues with text_fg_override_threshold
Issue #6767
2023-10-30 09:04:27 -07:00
Kovid Goyal
dfd84d85a2
Merge branch 'dependabot/go_modules/all-go-deps-9450db85af' of https://github.com/kovidgoyal/kitty 2023-10-30 08:46:48 +05:30
dependabot[bot]
cb139692f5
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 [github.com/google/uuid](https://github.com/google/uuid).


Updates `github.com/alecthomas/chroma/v2` from 2.9.1 to 2.10.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.9.1...v2.10.0)

Updates `github.com/google/uuid` from 1.3.1 to 1.4.0
- [Release notes](https://github.com/google/uuid/releases)
- [Changelog](https://github.com/google/uuid/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/uuid/compare/v1.3.1...v1.4.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: github.com/google/uuid
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-go-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-30 03:14:51 +00:00
Kovid Goyal
47836f5086
... 2023-10-29 08:50:27 +05:30
Kovid Goyal
778adfcd3d
Report invalid effective listen_on as a bad config error 2023-10-29 08:44:41 +05:30
Kovid Goyal
24d9d502b1
Set window title when showing errors 2023-10-29 08:24:08 +05:30
Kovid Goyal
8dadcf568c
A bad listen_on value should not prevent startup
Ideally we should report the error more verbosely,
maybe someday when I have more time.
2023-10-28 19:40:43 +05:30
Kovid Goyal
0f02725f50
... 2023-10-28 07:59:45 +05:30
Kovid Goyal
3beb1e454a
Fix #6761 2023-10-27 21:54:13 +05:30
Kovid Goyal
c174c3cb38
... 2023-10-27 15:49:37 +05:30
Kovid Goyal
f05a58f363
Note cursor movement behavior for relative placements in the spec 2023-10-27 15:43:15 +05:30
Kovid Goyal
9f42e915c8
Clarify relative placement spec 2023-10-27 15:38:56 +05:30
Kovid Goyal
52d5a4679f
Graphics protocol: Support for positioning images relative to other images
Fixes #6617
2023-10-27 15:27:30 +05:30
Kovid Goyal
aee14a49f0
... 2023-10-27 14:19:35 +05:30
Kovid Goyal
acf586867c
Fix empty emoticons panel in unicode input kitten
Fixes #6760
2023-10-27 14:18:46 +05:30
Kovid Goyal
7cb392c7ab
Use a hash table for images 2023-10-26 20:40:02 +05:30