Commit Graph

12956 Commits

Author SHA1 Message Date
Kovid Goyal
b0ba4b4a42 Fast and robust implementation of shlex.split
Also returns position of words in src string which we will need for
keymap parsing.
2023-12-02 14:57:02 +05:30
Kovid Goyal
0d10ee1a8c DRYer 2023-12-02 08:07:25 +05:30
Kovid Goyal
d63b852b90 Un-matched modifier keys should not pop keyboard mode 2023-12-01 19:34:20 +05:30
Kovid Goyal
9560968a7d Sequences should not participate in global shortcuts 2023-12-01 19:31:14 +05:30
Kovid Goyal
53980d00f0 a couple more tests 2023-12-01 18:16:22 +05:30
Kovid Goyal
5bc2cde454 Add --debug-input output for sequence prefix matches 2023-12-01 17:19:08 +05:30
Kovid Goyal
d4ff54e0d8 Dont use branch-protection=standard on linux ARM as it reportedly causes crashes
See https://github.com/kovidgoyal/kitty/issues/6845#issuecomment-1835886938
2023-12-01 16:48:30 +05:30
Kovid Goyal
f2075f99fd More comprehensive is_arm check
Apparently on some Linux machines platform.machine() is 'aarch64' not
'arm64'.
2023-12-01 16:36:34 +05:30
Kovid Goyal
f46425c2f9 Fix #6876 2023-12-01 16:28:48 +05:30
Kovid Goyal
ad4e9bb42c Add a check that the output buffer is actually sRGB 2023-12-01 13:58:09 +05:30
Kovid Goyal
97f5cad335 Request an SRGB output buffer from the window system explicitly
Possible fix for #6845
2023-12-01 13:50:11 +05:30
Kovid Goyal
788295e534 Turn on control flow protection build options 2023-12-01 07:36:02 +05:30
Kovid Goyal
336035f507 Merge branch 'feature/fix-build-problems-nix' of https://github.com/gabyx/kitty 2023-12-01 07:06:13 +05:30
Gabriel Nützi
1883208cf6 fix: Correct Nix shell for building correctly 2023-11-30 22:09:15 +01:00
Kovid Goyal
8d1fde18f8 Fix sequence mapping 2023-11-30 21:17:02 +05:30
Kovid Goyal
d7633b95d0 Get debug config printing the changes in all keyboard modes 2023-11-30 20:47:30 +05:30
Kovid Goyal
165f1ccfd1 Port the test 2023-11-30 20:06:20 +05:30
Kovid Goyal
063a663958 Beep when multi-key sequence is aborted by mismatch 2023-11-30 20:02:25 +05:30
Kovid Goyal
66bc86e4f2 Report invalid --when-focus-on expressions to user 2023-11-30 20:00:49 +05:30
Kovid Goyal
15eb03c5e2 Add no-op to paste_actions 2023-11-30 19:54:01 +05:30
Kovid Goyal
c064a2e559 Port visual_window_select to use a keyboard mode 2023-11-30 19:50:57 +05:30
Kovid Goyal
9e815212dc Implement modal keyboard handling 2023-11-30 19:44:41 +05:30
Kovid Goyal
cb418a0040 Infrastructure for more map options 2023-11-30 13:36:29 +05:30
Kovid Goyal
716bf714db Fix a couple of tests 2023-11-30 11:53:09 +05:30
Kovid Goyal
f11f770011 Allow creating key mappings that depend on the state of the focused window, such as what program is running inside it 2023-11-30 11:35:30 +05:30
Kovid Goyal
8a1571f62c Add full docs for matching windows/tabs to the remote control page 2023-11-29 21:44:52 +05:30
Kovid Goyal
3876d518bd Fix setting swap interval for newly created OS window not always working 2023-11-29 21:13:10 +05:30
Kovid Goyal
72e14053f5 Simplify unmapping key/mouse button events
No need to specify the no-op action just specify no action. More
intuitive.
2023-11-28 12:37:27 +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
Kovid Goyal
e19335377f Merge branch 'update-ask-kitten-help-msg' of https://github.com/lemontheme/kitty 2023-11-27 14:54:02 +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
4b3d29ecc3 Cant wait to drop python 3.8
Fixes #6848
2023-11-24 16:49:18 +05:30
Kovid Goyal
b297c27e09 ... 2023-11-23 19:43:37 +05:30
Kovid Goyal
6a09804910 Fix loading of window logo images via @launch
Use the path when either the pointer ORE the size is false. Apparently
some code paths pass pointers from a python y# conversion with an empty
bytestring as no value.

Fixes #6844
2023-11-23 19:34:35 +05:30
Kovid Goyal
c2b4df0666 No need to use fmemopen 2023-11-23 19:30:43 +05:30
Kovid Goyal
79f3692f1e Better PNG load error reporting 2023-11-23 19:16:43 +05:30
Kovid Goyal
35b2dcb065 ... 2023-11-23 17:25:52 +05:30
Kovid Goyal
2b751f56bd Port test 2023-11-22 10:50:05 +05:30
Kovid Goyal
882d471c90 Make config line parsing in Go use same algorithm as in python 2023-11-22 10:01:45 +05:30
Kovid Goyal
fc64ef41b3 when parsing conf files in go accept both space and tab as key separators 2023-11-22 09:49:33 +05:30
Kovid Goyal
b1e4c06220 Cleanup matching code for @ls and @send-text
Use the same utility function as other commands uses. Fixes #6835
2023-11-21 07:49:33 +05:30
Kovid Goyal
ef9dada80d Failure to change to cwd should not be fatal in bootstrap.py to match bootstrap.sh 2023-11-20 19:35:41 +05:30
Kovid Goyal
6d49686aee Merge branch 'patch-1' of https://github.com/Notarin/kitty 2023-11-19 09:32:54 +05:30
Notarin
3cbb8d5c8f Update graphics-protocol.rst
Fixed a very small typo
2023-11-18 22:36:39 -05:00
Kovid Goyal
ea28e20915 Show repology badge in 3 columns 2023-11-17 18:43:06 +05:30
Kovid Goyal
4897c4df00 Merge branch 'fish-sudo' of https://github.com/sersorrel/kitty 2023-11-17 08:39:04 +05:30
ash
b3c5b1185c Improve resilience of shell integration for sudo in fish
Running `sudo --version` will now not error out.
2023-11-17 00:24:40 +00:00
Kovid Goyal
b961e65f22 Clean up previous PR 2023-11-14 20:46:04 +05:30