Commit Graph

12719 Commits

Author SHA1 Message Date
Kovid Goyal
d9cd92d4ed ... 2023-10-03 12:07:19 +05:30
Kovid Goyal
4b41a7d182 Fix #6650 2023-10-03 12:04:54 +05:30
Kovid Goyal
fcce5c9a64 Expose at_prompt property in kitty @ ls output 2023-10-03 11:33:08 +05:30
Kovid Goyal
4c37fff496 Fix secure restore state runtime warning from cocoa being printed to stderr 2023-10-03 11:23:56 +05:30
Kovid Goyal
450aa59303 Merge branch 'dependabot/go_modules/all-go-deps-911bbdbafd' of https://github.com/kovidgoyal/kitty 2023-10-02 09:16:53 +05:30
dependabot[bot]
77156be0f4 Bump the all-go-deps group with 1 update
Bumps the all-go-deps group with 1 update: [github.com/shirou/gopsutil/v3](https://github.com/shirou/gopsutil).

- [Release notes](https://github.com/shirou/gopsutil/releases)
- [Commits](https://github.com/shirou/gopsutil/compare/v3.23.8...v3.23.9)

---
updated-dependencies:
- dependency-name: github.com/shirou/gopsutil/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-go-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-02 03:42:17 +00:00
Kovid Goyal
f37cce2ae4 ... 2023-10-01 08:20:15 +05:30
Kovid Goyal
dde80b9ad6 Dont need setuptools since we only use python stdlib 2023-09-30 08:09:06 +05:30
Kovid Goyal
1aaaa3f1e9 Fix incorrect exception when tic fails 2023-09-30 07:53:13 +05:30
Kovid Goyal
e04e5a157f Note that nushell supports the kitty keyboard protocol 2023-09-29 19:48:46 +05:30
Kovid Goyal
ed32bf35a7 clean up some docs text 2023-09-26 20:30:27 +05:30
Kovid Goyal
ef7d4934d2 Add window groups to kitty @ ls output
Fixes #6655
2023-09-26 18:41:52 +05:30
Kovid Goyal
bda9155be1 ... 2023-09-26 10:04:15 +05:30
Kovid Goyal
3fef881956 Fix #6653 2023-09-26 09:44:45 +05:30
Kovid Goyal
2502111697 Make mypy happy 2023-09-25 21:30:42 +05:30
Kovid Goyal
acd6b168fd ... 2023-09-25 21:16:24 +05:30
Kovid Goyal
164dd0d637 man pages: Fix table markup in kitty man pages not being rendered correctly at all window sizes
Fixes #5095
2023-09-25 21:09:27 +05:30
Kovid Goyal
ee3118ffaf Merge branch 'dependabot/go_modules/all-go-deps-508be90fc6' of https://github.com/kovidgoyal/kitty 2023-09-25 10:04:07 +05:30
dependabot[bot]
4f277deb6d Bump the all-go-deps group with 7 updates
Bumps the all-go-deps group with 7 updates:

| Package | From | To |
| --- | --- | --- |
| [github.com/ALTree/bigfloat](https://github.com/ALTree/bigfloat) | `0.0.0-20220102081255-38c8b72a9924` | `0.2.0` |
| [github.com/alecthomas/chroma/v2](https://github.com/alecthomas/chroma) | `2.8.0` | `2.9.1` |
| [github.com/google/uuid](https://github.com/google/uuid) | `1.3.0` | `1.3.1` |
| [github.com/seancfoley/ipaddress-go](https://github.com/seancfoley/ipaddress-go) | `1.5.4` | `1.5.5` |
| [github.com/shirou/gopsutil/v3](https://github.com/shirou/gopsutil) | `3.23.7` | `3.23.8` |
| [golang.org/x/image](https://github.com/golang/image) | `0.11.0` | `0.12.0` |
| [golang.org/x/sys](https://github.com/golang/sys) | `0.11.0` | `0.12.0` |


Updates `github.com/ALTree/bigfloat` from 0.0.0-20220102081255-38c8b72a9924 to 0.2.0
- [Commits](https://github.com/ALTree/bigfloat/commits/v0.2.0)

Updates `github.com/alecthomas/chroma/v2` from 2.8.0 to 2.9.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.8.0...v2.9.1)

Updates `github.com/google/uuid` from 1.3.0 to 1.3.1
- [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.0...v1.3.1)

Updates `github.com/seancfoley/ipaddress-go` from 1.5.4 to 1.5.5
- [Release notes](https://github.com/seancfoley/ipaddress-go/releases)
- [Commits](https://github.com/seancfoley/ipaddress-go/compare/v1.5.4...v1.5.5)

Updates `github.com/shirou/gopsutil/v3` from 3.23.7 to 3.23.8
- [Release notes](https://github.com/shirou/gopsutil/releases)
- [Commits](https://github.com/shirou/gopsutil/compare/v3.23.7...v3.23.8)

Updates `golang.org/x/image` from 0.11.0 to 0.12.0
- [Commits](https://github.com/golang/image/compare/v0.11.0...v0.12.0)

Updates `golang.org/x/sys` from 0.11.0 to 0.12.0
- [Commits](https://github.com/golang/sys/compare/v0.11.0...v0.12.0)

---
updated-dependencies:
- dependency-name: github.com/ALTree/bigfloat
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-go-deps
- 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-patch
  dependency-group: all-go-deps
- dependency-name: github.com/seancfoley/ipaddress-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-go-deps
- 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/image
  dependency-type: direct:production
  update-type: version-update:semver-minor
  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-09-25 03:51:21 +00:00
Kovid Goyal
f16e9500f1 Simplify count-lines-of-code 2023-09-24 15:52:25 +05:30
Kovid Goyal
45bfeeef21 Update FAQ on sudo + terminfo 2023-09-24 13:41:16 +05:30
Kovid Goyal
d96fdb80ed Shell integration now aliases sudo to make the kitty terminfo db available in the sudo environment
This should make terminfo completely transparent for most users on the
local machine and on remote machines that are connected to with the ssh
kitten.
2023-09-24 13:35:29 +05:30
Kovid Goyal
0c0c6b732f ... 2023-09-24 13:14:26 +05:30
Kovid Goyal
537475d5bb Better fix for clone-in-kitty 2023-09-24 11:34:32 +05:30
Kovid Goyal
8e7b6ad3c3 Fix clone-in-kitty broken because of login wrapping 2023-09-24 11:21:32 +05:30
Kovid Goyal
68b861b188 macOS: When running the default shell, run it via the login program so that calls to `getlogin()` work
Fixes #6511
2023-09-24 11:12:02 +05:30
Kovid Goyal
59e4c6660e run-shell: Allow specifying the cwd 2023-09-24 10:40:21 +05:30
Kovid Goyal
38be3e98a1 More linter fixes 2023-09-24 09:16:27 +05:30
Kovid Goyal
4af1a38507 More linter fixes 2023-09-24 09:06:15 +05:30
Kovid Goyal
70110d54b0 Use resolved shell for --hold 2023-09-24 08:34:08 +05:30
Kovid Goyal
76c6f91685 Expand environment variables in the shell option
See #6511 for discussion
2023-09-24 08:28:42 +05:30
Kovid Goyal
3d6c3a9979 Merge branch 'patch-1' of https://github.com/jake-stewart/kitty 2023-09-23 21:12:07 +05:30
jake-stewart
7b3513d010 fix double backslash
it looks like RST does not require backslashes to be escaped when encased in double backticks. double backslash in double backticks causes two backslashes to render. the problem can be seen on this page https://sw.kovidgoyal.net/kitty/conf/
2023-09-23 22:50:41 +08:00
Kovid Goyal
c280a28155 Dont use os.Remove on failures in syscall_shm
Use shm_unlink instead
2023-09-23 11:16:30 +05:30
Kovid Goyal
24598b846c ... 2023-09-23 11:09:51 +05:30
Kovid Goyal
dc43f0d42f ... 2023-09-23 11:08:55 +05:30
Kovid Goyal
5fede41205 Always use fallocate() on Linux for SHM creation 2023-09-23 10:55:15 +05:30
Kovid Goyal
6619bf33b0 Using fcntl() based fallocate on darwin doesnt work with file descriptors returned by shm_open 2023-09-23 10:39:10 +05:30
Kovid Goyal
627c80125b More linter fixes 2023-09-23 10:19:46 +05:30
Kovid Goyal
38bac98c12 Fix build of fallocate_darwin.go 2023-09-23 10:08:04 +05:30
Kovid Goyal
2e4f3dab41 Use fallocate() rather than truncate() when creating SHM memory
With truncate() the OS might not actually allocate the space leading to
a SIGBUS if /dev/shm runs out of space when actually using the mmap.

By using fallocate we ensure that once the SHM mmap is created it wont
fail
2023-09-23 09:53:17 +05:30
Kovid Goyal
911c80aa3b More linter fixes 2023-09-22 12:20:37 +05:30
Kovid Goyal
fd85dfb417 DRYer 2023-09-22 12:13:17 +05:30
Kovid Goyal
b26c4c16d0 ... 2023-09-22 12:11:07 +05:30
Kovid Goyal
c650bd0aac icat: Dont open the controlling terminal to query for size if stdout is a terminal, use it instead 2023-09-22 12:10:21 +05:30
Kovid Goyal
fc1331cfdc Dont call tcgetattr when no operations are specified 2023-09-22 09:37:48 +05:30
Kovid Goyal
fe4fdaefb9 Remove unused code 2023-09-22 09:25:21 +05:30
Kovid Goyal
704ae40dee More linter fixes 2023-09-22 09:24:31 +05:30
Kovid Goyal
0a2f164062 Change kitty +kitten -> kitten in docs
All kittens except for the broadcast and panel kittens have now been
ported to Go and so can be run with just kitten rather than kitty
+kitten. So update the docs to use this canonical form for launching
kittens
2023-09-21 12:25:02 +05:30
Kovid Goyal
eb05f6864f Update changelog 2023-09-20 09:17:00 +05:30