Commit Graph

8101 Commits

Author SHA1 Message Date
Kovid Goyal
4841502959 Use a single kitty invocation for manual shell integration 2021-11-08 11:27:10 +05:30
Kovid Goyal
8218df82f2 Add function to get path to integration script for the current shell
Makes setting up manual shell integration much easier. Also clean up
integration docs.
2021-11-08 11:11:16 +05:30
Kovid Goyal
fadc1b539b Merge branch 'docs-ksi-fish' of https://github.com/page-down/kitty 2021-11-08 10:24:49 +05:30
pagedown
c8162324ed ... 2021-11-08 11:36:40 +08:00
pagedown
2c46378886 Add how the fish shell integration works and how to configure it manually 2021-11-08 11:26:15 +08:00
Kovid Goyal
cf7e43fa26 Simplify nested if 2021-11-07 19:23:31 +05:30
Kovid Goyal
b5e8b5a124 Allow users to modify XDG_DATA_DIRS in the fish rc files
The only downside of this new technique is that it is no
longer possible to set XDG_DATA_DIRS to an empty var in kitty.conf
Since an empty XDG_DATA_DIRS breaks lots fo things, I dont think that
is a big concern.
2021-11-07 18:59:50 +05:30
Kovid Goyal
6fa0a21b3c Cancel visual select when its OS Window or Tab is closed 2021-11-07 18:12:50 +05:30
Kovid Goyal
c43637f6cc Dont copy prompt start bits to multiple lines when resizing the screen
This makes it unnecessary to modify the prompt marking protocol to
distinguish consecutive prompts without output in between
2021-11-07 18:00:06 +05:30
Kovid Goyal
f48a430493 Use --global when re-exporting XDG_DATA_DIRS 2021-11-07 10:31:57 +05:30
Kovid Goyal
a1eb341817 ... 2021-11-07 10:25:13 +05:30
Kovid Goyal
cc2419911c shell environ modification should only happen for actual shell processes 2021-11-07 10:22:37 +05:30
Kovid Goyal
2f5d3b073d Ignore exceptions in the environment modifier 2021-11-07 10:13:09 +05:30
Kovid Goyal
4c0a7a9566 KSI should be set even when no-rc is specified 2021-11-07 10:10:19 +05:30
Kovid Goyal
35514e0cc3 Dont change XDG_DATA_DIRS for child processes in fish shell integration
Fixes #4199
2021-11-07 10:06:18 +05:30
Kovid Goyal
0f23edeec3 Fix breakage caused by Color no longer being iterable 2021-11-07 07:15:55 +05:30
Kovid Goyal
69e54cb9c1 More work on file transfer 2021-11-06 20:11:11 +05:30
Kovid Goyal
60b8023928 Ensure transfer is canceled on error 2021-11-06 12:59:13 +05:30
Kovid Goyal
8099ae44d7 create fid_map after collecting files not before 2021-11-06 12:54:20 +05:30
Kovid Goyal
46f88494e3 Merge branch 'feat-sel-win-reactivate-prev-tab' of https://github.com/page-down/kitty 2021-11-06 11:44:40 +05:30
Kovid Goyal
4818ac0750 More consistent method naming 2021-11-06 11:35:08 +05:30
Kovid Goyal
d96429e6b8 When handling mouse events in visual select mode cancel the visual select if the original tab is not active any more 2021-11-06 11:34:22 +05:30
Kovid Goyal
9cda076c93 Fix restoring of OS window title after visual selection 2021-11-06 11:28:56 +05:30
Kovid Goyal
d30c761b3b A new mappable action to close windows with a confirmation
Fixes #4195
2021-11-06 11:09:41 +05:30
Kovid Goyal
49a0e8e242 Move close_window from Tab to Boss
We might eventually implement OS Window level floating windows
and the close_window action actually used the Boss method anyway
2021-11-06 10:45:07 +05:30
Kovid Goyal
8630c7a700 Fix canceling the select window overlay not calling the callback in stack layout 2021-11-06 10:28:34 +05:30
Kovid Goyal
905fbeec14 Fix cancelling visual select not working in stack layout 2021-11-06 10:25:10 +05:30
Kovid Goyal
e1ec8dfe4f Merge branch 'docs-confirm-os-win-close' of https://github.com/page-down/kitty 2021-11-06 09:38:40 +05:30
pagedown
93558f75f2 Docs: Explicitly clarify the scope of confirm_os_window_close in effect 2021-11-06 10:19:47 +08:00
pagedown
7a66c1a01c Allow select-window to reactivate previously activated tab 2021-11-06 09:32:36 +08:00
Kovid Goyal
9f7b975064 Handle timeout errors in the shell 2021-11-05 23:53:29 +05:30
Kovid Goyal
8e8a0d2df6 Fix rel path logic when transferring symlinks 2021-11-05 21:39:07 +05:30
Kovid Goyal
d9f4fadf2d More work on file transfer 2021-11-05 21:33:47 +05:30
Kovid Goyal
3f3fe6b178 Merge branch 'minor-tweaks' of https://github.com/page-down/kitty 2021-11-05 17:16:12 +05:30
pagedown
2e95cd7a62 Docs: Describes the priority order of auto bold fonts 2021-11-05 18:15:29 +08:00
pagedown
9be7345ba6 Capitalize menu item and adjust the order of menu items following the convention 2021-11-05 18:15:29 +08:00
Kovid Goyal
950edb1110 Fix symlink transmission 2021-11-05 13:18:58 +05:30
Kovid Goyal
c4b3723372 More work on file transfer 2021-11-05 13:10:04 +05:30
Kovid Goyal
119841a2c4 Respect --no-response in the kitty shell 2021-11-04 19:07:07 +05:30
Kovid Goyal
2df6f9cdda Fix select-window in the kitty shell 2021-11-04 18:56:20 +05:30
Kovid Goyal
55868da9d3 DRYer 2021-11-04 18:01:54 +05:30
Kovid Goyal
460373803d Merge branch 'fix-get-colors' of https://github.com/page-down/kitty 2021-11-04 18:01:13 +05:30
pagedown
abf9cce6bf When the color is set to none get-colors should not return a color value 2021-11-04 18:27:55 +08:00
Kovid Goyal
d9c400ac32 Forgot to recalculate height_gl leading to vertically stretched characters for window numbers 2021-11-04 08:53:17 +05:30
Kovid Goyal
377607730c Forgot to set the x-axis origin when rendering the glyph, causing right side cut-off 2021-11-03 20:57:05 +05:30
Kovid Goyal
6da5a8073c Wayland: Apparently Java doesnt even set text/plain as a mimetype when copying text. Instead it uses UTF8_STRING and STRING.
So check for those as well. Am guessing whoever wrote this code in Java
just copied their old X11 shit without checking the specs. See #4183
2021-11-03 20:46:33 +05:30
Kovid Goyal
68ad513dd5 Merge branch 'fix-set-colors-err-msg' of https://github.com/page-down/kitty 2021-11-03 11:42:52 +05:30
pagedown
40ff78b1c8 Handle set colors exceptions 2021-11-03 12:55:05 +08:00
Kovid Goyal
477baf390b DRYer 2021-11-03 09:32:49 +05:30
Kovid Goyal
76834c0975 Merge branch 'feat-visual-bell-color' of https://github.com/page-down/kitty 2021-11-03 09:13:27 +05:30