Kovid Goyal
2e5308ad40
Use an associative array for prompt data
2021-08-18 10:06:05 +05:30
Kovid Goyal
d1015de700
Workaround for base64 on linux inserting line breaks by default
2021-08-18 10:06:05 +05:30
Kovid Goyal
934318adb1
DRYer
2021-08-18 10:06:05 +05:30
Kovid Goyal
179c2b21c0
Make debug_print remove esc and bel
...
Should really be made more robust, but cant be bothered
2021-08-18 10:06:05 +05:30
Kovid Goyal
85f6d3fed8
Use PS1 to set the prompt start mark
...
Needed as precmd functions are not called when redrawing the prompt. As
far as I can tell zsh stupidly has no hook that is called when the
prompt is redrawn after a window resize or when a background job
finishes.
2021-08-18 10:06:05 +05:30
Kovid Goyal
a4925eeeb4
...
2021-08-18 10:06:05 +05:30
Kovid Goyal
196200d03f
Dont reflow the current prompt when resizing
...
This ensures that there is no leftover line when the shell redraws the prompt,
by making the prompt a simple single character prompt before rewrapping.
2021-08-18 10:06:04 +05:30
Kovid Goyal
f2ca0424a0
Use correct src_line for attrs copy when rewrapping
2021-08-18 10:06:04 +05:30
Kovid Goyal
07b971ad5f
Add a shortcut to easily browse the output of the last command run in the shell
2021-08-18 10:06:04 +05:30
Kovid Goyal
51fa25e03d
Add shortcuts for jumping to prev/next shell prompt
2021-08-18 10:06:04 +05:30
Kovid Goyal
bd5f100f13
Add test for multiline prompt jumping
2021-08-18 10:06:04 +05:30
Kovid Goyal
3b8da7e4c2
implementation of scroll_to_prompt
2021-08-18 10:06:04 +05:30
Kovid Goyal
4a9a021b2c
DRYer
2021-08-18 10:06:04 +05:30
Kovid Goyal
d4dd226d8f
Preserve prompt markings when copying lines and rewrapping them
2021-08-18 10:06:04 +05:30
Kovid Goyal
0d4237f802
Mark prompt lines
2021-08-18 10:06:04 +05:30
Kovid Goyal
46b9aca16e
Start work on shell integration
2021-08-18 10:06:04 +05:30
Kovid Goyal
4931477ef4
typo
2021-08-18 10:06:04 +05:30
Kovid Goyal
dfdd1697c5
Make the signatures of drat tab functions extendable with backwards compat
2021-08-18 10:03:50 +05:30
Kovid Goyal
801f0d51a1
Cleanup docs a bit
2021-08-18 08:31:49 +05:30
Kovid Goyal
bdebb19648
Merge branch 'wayland-hyper' of https://github.com/orki/kitty
2021-08-18 08:29:51 +05:30
Ravi R Kiran
75df0cbcf5
Gate Wayland modifier autodiscovery behind an environment variable
2021-08-17 21:46:09 -05:00
Kovid Goyal
e23b4ce6b4
Document a couple more env vars
2021-08-18 07:49:54 +05:30
Ravi R Kiran
1b88a68b55
Be even more conservative in declaring success
...
This handles the nonsensical case of Alt_X being mapped to two
different modifiers.
2021-08-17 21:11:55 -05:00
Kovid Goyal
a82bc6738c
A new option to draw the tab bar centered or right
...
Fixes #3946
2021-08-18 07:35:04 +05:30
Kovid Goyal
868626c79c
Allow the user to supply a custom Python function to draw tab bar
2021-08-18 07:15:03 +05:30
Kovid Goyal
e4cc8bf828
Merge branch 'update-shell.nix' of https://github.com/Luflosi/kitty
2021-08-18 06:26:31 +05:30
Luflosi
f57fb17d2b
shell.nix: add new dependencies for building the documentation
2021-08-17 17:55:40 +02:00
Luflosi
a69170b0ba
shell.nix: make more similar to the code in Nixpkgs
...
Remove the dependency on installShellFiles as it is not needed for building kitty itself and is only used in Nixpkgs for conveniently installing man pages and shell completions.
pkgconfig has been renamed to pkg-config.
Use `with python3Packages;` to reduce code duplication. This is how it's done in Nixpkgs as well.
Also sort the packages in nativeBuildInputs.
2021-08-17 17:43:49 +02:00
Kovid Goyal
4066c2389d
Fix a regression that caused --title to not work when opening new OS windows using --single-instance
2021-08-17 20:32:03 +05:30
Kovid Goyal
cd7b4fcd8e
version 0.23.1
2021-08-17 11:37:24 +05:30
Ravi R Kiran
b0c963b650
Heuristic to find hyper and meta on wayland
2021-08-16 21:59:53 -05:00
Kovid Goyal
f67995d5d3
See if we can mollify CodeQL
2021-08-16 22:53:46 +05:30
Kovid Goyal
f0e7344bc8
Use bundled CA certs on Linux binary builds as well
...
Makes it consistent with macOS
2021-08-16 22:47:53 +05:30
Kovid Goyal
aa525c68c7
Only test bundled CA certs on macOS
2021-08-16 22:26:10 +05:30
Kovid Goyal
a2e25331a5
Dont check Linux CA locations on macOS
2021-08-16 22:23:24 +05:30
Kovid Goyal
d8f09d377f
Install ca-certificates on Linux CI machines
2021-08-16 22:15:27 +05:30
Kovid Goyal
cc96cb1c75
Check a few more locations for CA certificates
2021-08-16 22:09:39 +05:30
Kovid Goyal
5966f04656
Add a build test for CA certificate loading
2021-08-16 20:44:47 +05:30
Kovid Goyal
dbce9a8f29
themes kitten: Fix only the first custom theme file being loaded
...
Fixes #3938
2021-08-16 20:27:21 +05:30
Kovid Goyal
4333552523
Matching windows/tabs: allow matching by recency
...
``recent:0`` matches the active window/tab, ``recent:1`` matches the
previous window/tab and so on
2021-08-16 18:29:06 +05:30
Kovid Goyal
c00e945f6e
Make the clipboard size limit configurable
...
Fixes #3937
2021-08-16 17:29:36 +05:30
Kovid Goyal
56cb628ee8
macOS: Bundle mozilla's root certificates with kitty
...
Apple doesnt provide root certificates in a form useable by openssl
which means all ssl based network requests fail, so bundle our own
Fixes #3936
2021-08-16 17:16:03 +05:30
Kovid Goyal
827b6598b2
version 0.23.0
2021-08-16 07:38:02 +05:30
Kovid Goyal
59bafea06d
Add some docs for non-interactive theme changing
2021-08-16 07:37:59 +05:30
Kovid Goyal
d61aca40b8
Make link to template.conf a download link
2021-08-16 07:14:49 +05:30
Kovid Goyal
bf704d35a2
Add a link to kitty-themes in the changelog
2021-08-16 07:11:05 +05:30
Kovid Goyal
fbc8881a96
Merge branch 'master' of github.com:kovidgoyal/kitty
2021-08-15 08:28:00 +05:30
Kovid Goyal
8cfb1efb01
hints kitten: Make the --program option work with --linenum-action=self
...
Fixes #3931
2021-08-15 08:27:25 +05:30
Kovid Goyal
f399b8466c
Merge branch 'patch-1' of https://github.com/con-f-use/kitty
2021-08-14 19:42:19 +05:30
con-f-use
437ba69049
docs: typo in hint.rst, adaption to new layout
2021-08-14 15:19:27 +02:00