Commit Graph

1435 Commits

Author SHA1 Message Date
Kovid Goyal
a5f3142514 hints kitten: The option to set the text color for hints now allows arbitrary colors
Fixes #7150
2024-02-25 10:02:38 +05:30
Kovid Goyal
16d36c46fe Update to using math/rand/v2 2024-02-25 09:57:43 +05:30
Kovid Goyal
7467307200 Add some alignment tests 2024-02-25 09:57:42 +05:30
Kovid Goyal
a32e1aafa6 ... 2024-02-25 09:57:41 +05:30
Kovid Goyal
fa9a2b1e2e Switch file input to use new SIMD parser to search for \n and \r in parallel 2024-02-25 09:57:39 +05:30
Kovid Goyal
86a55e2c0a Use an aligned slice for file reads 2024-02-25 09:57:39 +05:30
Kovid Goyal
c5f0b03a62 Remove not needed function 2024-02-25 09:57:29 +05:30
Kovid Goyal
8f1b30a25b No need to ask for 7bit controls anymore 2024-02-25 09:57:24 +05:30
Kovid Goyal
5f809bf249 Get kitty building with the new VT parser 2024-02-25 09:57:22 +05:30
Kovid Goyal
bc3c9ce2fa Fix #7100 2024-02-05 20:48:49 +05:30
Kovid Goyal
9bea8bb5bc remove no longer needed code 2024-02-05 13:54:22 +05:30
Kovid Goyal
8cc2cad4d9 Use list of legal chars in URL from the WHATWG standard
Notably this excludes some ASCII chars: <>{}[]`|
See https://url.spec.whatwg.org/#url-code-points

Fixes #7095
2024-02-05 13:27:22 +05:30
Kovid Goyal
b3e74de390 More work on pager kitten 2024-01-21 14:47:56 +05:30
Kovid Goyal
ff4ee95eba ... 2024-01-20 06:49:49 +05:30
Kovid Goyal
2707c44f0f DRYer 2024-01-19 21:48:40 +05:30
Kovid Goyal
e7e401c8dd More work on pager kitten 2024-01-19 21:16:09 +05:30
Kovid Goyal
0bd50abd77 Start work on pager kitten 2024-01-19 15:09:20 +05:30
Kovid Goyal
017947de7f panel kitten: Fix rendering with non-zero margin.padding in kitty.conf
Fixes #6923
2023-12-17 11:12:49 +05:30
Kovid Goyal
92befa26db Fix #6889 2023-12-07 09:30:04 +05:30
Kovid Goyal
a1f2a7df4d Port new shlex code to Go 2023-12-04 14:14:11 +05:30
Kovid Goyal
bd7f38eb7d rg changed its help output to conform more closely to GNU conventions
Which is good I suppose, but it breaks hyperlinked_greps --help parsing.
I have updated it to match current rg which of course means it fails on
older rg.
2023-11-27 22:08:03 +05:30
adriaan
382d2f1ed0 Update help in main.py 2023-11-26 16:53:31 +01:00
Kovid Goyal
9bb85bd294 ask kitten: Better error message when choice letter is not present in choice text. Fixes #6855 2023-11-26 10:10:50 +05:30
Kovid Goyal
c10ea63818 Implement local filename completion for the transfer kitten 2023-11-25 07:46:30 +05:30
Kovid Goyal
70bc4f1033 Generate man pages for kitten and all its sub-commands recursively
Fixes #6808
2023-11-11 17:09:23 +05:30
Kovid Goyal
77292a16d6 Make shebangs consistent
Follow PEP 0394 and use /usr/bin/env python so that the python in the
users venv is respected. Not that the kitty python files are meant to be
executed standalone anyway, but, whatever.

Fixes #6810
2023-11-11 08:32:05 +05:30
Kovid Goyal
8dfe1fcca9 Ensure clenup is run even when ssh child is killed by interrupt 2023-11-06 22:02:06 +05:30
Kovid Goyal
bd5fcb00e0 Fix regression that broke quick exit from ssh kitten 2023-11-06 21:22:41 +05:30
Kovid Goyal
bc1da5525e ssh kitten: Fix restore state not being called after interrupt 2023-11-05 08:38:04 +05:30
Kovid Goyal
d113a6c2cf ssh kitten: Fix a regression that broken ctrl+space mapping in zsh
Fixes #6780
2023-11-03 07:16:07 +05:30
Kovid Goyal
acf586867c Fix empty emoticons panel in unicode input kitten
Fixes #6760
2023-10-27 14:18:46 +05:30
Kovid Goyal
7292d1c9df Clean up mouse-demo kitten
Fixes #6738
2023-10-21 07:55:23 +05:30
Kovid Goyal
beb18cc250 Add window titles to various ask kitten invocations 2023-10-20 13:36:02 +05:30
Kovid Goyal
0300a355d0 update docs for remote_kitty 2023-10-18 17:31:44 +05:30
Kovid Goyal
6804d16519 Show pointer shapes in mouse_demo kitten 2023-10-17 21:07:57 +05:30
Kovid Goyal
ee8399ba56 Port the mouse_demo kitten to Go 2023-10-17 20:21:22 +05:30
Kovid Goyal
c03dff2322 Fix help text and short desc for the two wrapper kittens 2023-10-17 19:50:47 +05:30
Kovid Goyal
dc6edf9191 Improve the docs for how to match multi-line hints
See #6692
2023-10-17 15:23:58 +05:30
Kovid Goyal
70a588cb36 ... 2023-10-17 15:23:43 +05:30
Kovid Goyal
17ce474b79 Use hand pointer when hovering over buttons in ask kitten 2023-10-15 21:35:51 +05:30
Kovid Goyal
a8a1571ed1 Fix #6715 2023-10-14 08:49:46 +05:30
Bernhard M. Wiedemann
17b7703dab Fix compilation without LTO
When building without link-time-optimization through the
KITTY_NO_LTO env var or the setup.py --disable-link-time-optimization option
compilation failed with a warning about freeing "ans" memory.

Chances are, this is dead code that gets optimized out by LTO.
2023-10-08 04:52:24 +02:00
Kovid Goyal
5fb661d72d ... 2023-10-05 09:34:21 +05:30
Kovid Goyal
627c80125b More linter fixes 2023-09-23 10:19:46 +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
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
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