Commit Graph

12696 Commits

Author SHA1 Message Date
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
Kovid Goyal
b21bbbe14c Fix ssh kitten override parsing ignoring settings inherited from ssh.conf
Fixes #6639
2023-09-20 09:15:38 +05:30
Kovid Goyal
18e5b74699 More linter fixes 2023-09-20 08:43:50 +05:30
Kovid Goyal
d16a29b942 More linter fixes 2023-09-19 11:50:09 +05:30
Kovid Goyal
dda5771ccd Yet another stupid entry in Info.plist for Apple's security theatre
Fixes #6632
2023-09-18 22:31:52 +05:30
Kovid Goyal
65c777e335 Better error message for APC payload too large 2023-09-18 22:09:46 +05:30
Kovid Goyal
a8633756de More linter fixes 2023-09-18 21:36:34 +05:30
Kovid Goyal
1a32e62ebf More linter fixes 2023-09-18 21:07:39 +05:30
Kovid Goyal
7faf216f9e More linter fixes 2023-09-18 20:59:47 +05:30
Kovid Goyal
6bafdedd65 Fix some linter issues 2023-09-18 20:38:08 +05:30
Kovid Goyal
bd036040a6 themes kitten: Allow absolute paths for --config-file-name
Fixes #6638
2023-09-18 20:31:30 +05:30
Kovid Goyal
c94cfdbf65 ... 2023-09-18 18:47:32 +05:30
Kovid Goyal
35766a1a86 Link to a couple of kittens for more advanced scrollback paging in the docs 2023-09-18 11:01:17 +05:30
Kovid Goyal
616a104cce Remove unused code 2023-09-18 10:50:43 +05:30
Kovid Goyal
a5e74d406c fix link in changelog 2023-09-18 08:59:22 +05:30
Kovid Goyal
30c37a5809 ... 2023-09-18 08:46:22 +05:30
Kovid Goyal
ef8e3b150c version 0.30.0 v0.30.0 2023-09-18 07:48:09 +05:30
Kovid Goyal
9a0140c430 ... 2023-09-18 07:44:50 +05:30
Kovid Goyal
b96f56b072 Update recent major new features 2023-09-18 07:34:49 +05:30
Kovid Goyal
3a34664483 Adjust the workaround for non-linear blending of transparent pixels in compositors to hopefully further reduce fringing around text with certain color issues
Fixes #6534
2023-09-17 20:39:56 +05:30
Kovid Goyal
8a211fa689 Remove unused code 2023-09-17 08:47:28 +05:30
Kovid Goyal
863adb3e8d Go: Fix parsing of nullable colors
Fixes #6629
2023-09-15 20:36:24 +05:30
Kovid Goyal
5c4efc0fd7 ... 2023-09-14 08:24:43 +05:30
Kovid Goyal
f63bbfc88c Wayland: Do not request idle inhibition for full screen windows
Fixes #6613
2023-09-12 16:43:46 +05:30