Commit Graph

1279 Commits

Author SHA1 Message Date
Kovid Goyal
eefb865e6e kitten @ ls: Return environ of foreground process
This is needed on macOS where we now run the shell via login and we
aren't allowed to read the environ of login because its setuid.

Fixes #6749
2023-10-25 09:54:12 +05:30
Kovid Goyal
ce583ea460 Render Private Use Unicode symbols using two cells if the second cell contains a non-breaking space as well as a normal space
There is some software out there that uses nbsp as a separator,
presumably as some kind of hack.

https://github.com/ibhagwan/fzf-lua/issues/916
2023-10-24 17:38:49 +05:30
Kovid Goyal
539a8706dc Update bundled harfbuzz version
The old version shows very poor perfromance shaping some fonts with
ligatures on macOS.

Fixes #6743
2023-10-24 16:39:29 +05:30
Kovid Goyal
c9a95cacd9 ... 2023-10-20 18:24:21 +05:30
Kovid Goyal
defa2e29ac Always ask for confirmation when pasting text with control codes in it 2023-10-20 13:02:28 +05:30
Kovid Goyal
56963c693e When pasting in bracketed paste mode and the cursor is at a shell prompt, strip out C0 control codes
Some shells incorrectly interpret these allowing escape from bracketed paste mode. Thanks to David Leadbetter for discovering.
2023-10-20 12:17:13 +05:30
Kovid Goyal
4b997a961c A new option single_window_padding_width to use a different padding when only a single window is visible
Fixes #6734
2023-10-20 08:37:45 +05:30
Kovid Goyal
6cfb451ec8 Two new event types for watchers
on_title_change and on_set_user_var
2023-10-19 07:54:33 +05:30
Kovid Goyal
4a463f7712 More kitty @ -> kitten @ 2023-10-18 21:16:12 +05:30
Kovid Goyal
1332cf8ac7 Create an easy to use alias for running remote control scripts 2023-10-18 20:29:50 +05:30
Kovid Goyal
713569fcfa Advertise the ability to run remote control scripts without turning on remote control 2023-10-18 20:10:17 +05:30
Kovid Goyal
314fe4fe4a Allow launched background process to work with --allow-remote-control
Use a dedicated socketpair for such processes. Fixes #6712
2023-10-18 19:56:58 +05:30
Kovid Goyal
a9b412baba Fix a regression that broke kitten update-self
Fixes #6729
2023-10-18 19:19:35 +05:30
Kovid Goyal
ddb121b418 Remote control launch: Fix the --copy-env option not copying current environment variables
Fixes #6724
2023-10-16 22:32:51 +05:30
Kovid Goyal
3a6c7e78df Note when support for pointer shapes was added 2023-10-15 21:51:10 +05:30
Kovid Goyal
1693107608 A new escape code to change the shape of the mouse pointer
Fixes #6711
2023-10-15 19:57:36 +05:30
Kovid Goyal
4f1971c480 Rationalize mouse cursor shape handling
Now can use the full range of standard mouse cursor shapes similar to
those supported by browsers via the CSS cursor property.

Still needs to be fully implemented for cocoa backend.
2023-10-15 09:17:31 +05:30
Kovid Goyal
1f91250a40 Fix trailing bracket not ignored when detecting a multi-line URL with the trailing bracket as the first character on the last line
Fixes #6710
2023-10-13 10:44:58 +05:30
Kovid Goyal
00dc5a8dc5 Fix a regression caused by rewrite of kittens to Go that made various kittens reset colors in a terminal when the colors were changed by escape code
Fixes #6708
2023-10-12 20:19:28 +05:30
Kovid Goyal
16e7ca3a95 kitten @ set-background-opacity --toggle
Fixes #6691
2023-10-10 05:04:50 +05:30
Kovid Goyal
f73d32e15d A new option menu_map that allows adding entries to the global menubar on macOS 2023-10-09 19:47:25 +05:30
Kovid Goyal
32b7be2201 Proper fix for braindead macOS login
Always run it in the home dir as it seems to expect that. Change the
working dir after running login
2023-10-09 11:29:32 +05:30
Kovid Goyal
619d4e3dc4 Run login on macOS with -q
Fixes #6689
2023-10-09 07:05:43 +05:30
Kovid Goyal
805bc499ee Fix documentation of word_and_line_from_point 2023-10-06 10:01:24 +05:30
Kovid Goyal
6a3529b7c2 version 0.30.1 2023-10-05 16:38:03 +05:30
Kovid Goyal
a2671c9101 Update changelog 2023-10-05 10:49:13 +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
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
76c6f91685 Expand environment variables in the shell option
See #6511 for discussion
2023-09-24 08:28:42 +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
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
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
f63bbfc88c Wayland: Do not request idle inhibition for full screen windows
Fixes #6613
2023-09-12 16:43:46 +05:30
Kovid Goyal
c99d55691d diff kitten: Add support for files that are identical apart from mode changes
Fixes #6611
2023-09-09 19:04:54 +05:30
Kovid Goyal
af4213579c ssh kitten: Fix a regression causing hostname directives in ssh.conf not matching when username is specified 2023-09-08 15:10:46 +05:30
Kovid Goyal
4ffb22199b Cleanup previous PR 2023-09-03 18:59:37 +05:30
Kovid Goyal
d6851210d7 When multiple confirmable close requests are made focus the existing close confirmation window instead of opening a new one for each request
Fixes #6601
2023-09-03 13:03:16 +05:30
Kovid Goyal
0be1295023 kitten run-shell: Make kitty terminfo database available if needed before starting the shell 2023-09-01 22:05:26 +05:30
Kovid Goyal
37938573ca When running a shell for `--hold set the env variable KITTY_HOLD=1` to allow users to customize what happens
For instance the user could have

[ "$KITTY_HOLD" = "1" ] && exec kitten __hold_till_enter__

in their shell rc files to get back the previous Press enter or esc to
quit behavior.
2023-08-30 14:18:11 +05:30
Kovid Goyal
a51a4e2a6e Update changelog 2023-08-26 09:07:51 +05:30
Kovid Goyal
be03da0c54 macOS: Fix keyboard shortcuts in the Apple global menubar not being changed when reloading the config 2023-08-25 16:08:34 +05:30
Kovid Goyal
be9dda0aa4 Fix incorrect shader recompile on settings change
Fixes #6559
2023-08-25 14:57:16 +05:30
Kovid Goyal
f50660bb30 Remote control: Allow matching by neighbor of active window 2023-08-25 13:48:53 +05:30
Kovid Goyal
c23ff34c84 Update changelog 2023-08-16 19:05:52 +05:30
Kovid Goyal
2c232ce709 kitten icat: Fix image being displayed one cell to the right when using both --place and --unicode-placeholder
Fixes #6556
2023-08-16 19:04:15 +05:30
Kovid Goyal
670ad353b2 unicode_input kitten: Add an option to specify the startup tab
Fixes #6552
2023-08-16 11:54:50 +05:30