Kovid Goyal
4dfbcb539f
Add basic tests for modal mappings
2024-01-25 14:42:27 +05:30
Kovid Goyal
cc0d6621a4
Also document how to set user vars from nvim
2024-01-25 14:27:55 +05:30
Kovid Goyal
d6e55f72c0
Forgot to stub out one method for the test
2024-01-25 14:18:09 +05:30
Kovid Goyal
cd30de3727
Fix #7055
2024-01-25 14:06:52 +05:30
Kovid Goyal
cec427777c
Add some tests for mappings
2024-01-25 13:56:42 +05:30
Kovid Goyal
30e3ad83bc
Move mapping code into its own class
...
Better encapsulation. Makes boss.py smaller. Allows writing tests
for mapping logic
2024-01-25 11:51:43 +05:30
Kovid Goyal
9ef6801f4c
A single key shortcut should override all previous multi-key shortcuts that have that shortcut as a prefix
...
Fixes #7058
2024-01-25 11:24:40 +05:30
Kovid Goyal
7f1c371b6e
DRYer
2024-01-25 09:00:46 +05:30
Kovid Goyal
2f7b0d1d94
Dont show multiple keys bindings in debug output when their focus on conditions are the same
2024-01-25 08:08:52 +05:30
Kovid Goyal
90e1ba7781
Fix #7051
2024-01-24 18:56:04 +05:30
Kovid Goyal
0dfe89a817
...
2024-01-23 18:42:28 +05:30
Kovid Goyal
c76f75a154
Fix a regression in the previous release that caused overriding of existing multi-key mappings to fail
...
Fixes #7044
2024-01-23 15:49:30 +05:30
Kovid Goyal
f51520eb79
Clarify behavior of image id==!0 and placement id == 0
...
See https://github.com/kovidgoyal/kitty/discussions/7043
2024-01-23 08:41:23 +05:30
Kovid Goyal
828f4f312a
Wayland+NVIDIA: Do not request an sRGB output buffer as a bug in Wayland causes kitty to not start
...
Fixes #7021
2024-01-22 13:22:04 +05:30
Kovid Goyal
a9c7a85d9a
Clarify the behavior of functional keys with no legacy encoding
...
See https://github.com/kovidgoyal/kitty/discussions/7037
2024-01-22 08:35:54 +05:30
Kovid Goyal
38393b50c1
Show how to send SIGUSR1 to kitty
2024-01-22 07:36:57 +05:30
Kovid Goyal
7b6c532ac2
...
2024-01-21 15:34:06 +05:30
Kovid Goyal
b3e74de390
More work on pager kitten
2024-01-21 14:47:56 +05:30
Kovid Goyal
1aa4d7d24b
When displaying scrollback fallback to less if the user configures a pager that is not in PATH
2024-01-21 09:22:02 +05:30
Kovid Goyal
a3e324d623
When testing for cf-protection support take env into account
2024-01-21 08:42:55 +05:30
Kovid Goyal
d6116f7426
Fix #7026
2024-01-21 08:33:59 +05:30
Kovid Goyal
ab9631f045
Better fix
2024-01-21 08:27:16 +05:30
Kovid Goyal
ec0a449c63
Fix a regression in the previous release that caused kitten @ send-text with a match parameter to send text twice to the active window
...
Fixes #7027
2024-01-21 08:24:22 +05:30
Kovid Goyal
01ffbfdb42
Fix a regression in the previous release that caused kitten @ launch --cwd=current to fail over SSH
...
Fixes #7028
2024-01-21 08:06:44 +05:30
Kovid Goyal
f5621bd56c
Merge branch 'dmenu-term' of https://github.com/weakish/kitty
2024-01-20 19:15:50 +05:30
weakish
708750173e
Remove dmenu-term in docs
...
The dmenu-term link returns 404 now.
2024-01-20 08:39:05 +00:00
Kovid Goyal
20e43a3e7d
Fix a regression in the previous release that caused multi-key sequences to not abort when pressing an unknown key
...
Fixes #7022
2024-01-20 08:13:12 +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
b0ab5bd5eb
...
2024-01-19 20:50:11 +05:30
Kovid Goyal
d75395794d
...
2024-01-19 20:46:20 +05:30
Kovid Goyal
c7d894d499
Merge branch 'fix-go-version-check' of https://github.com/Maytha8/kitty
2024-01-19 20:22:42 +05:30
Maytham Alsudany
30905db75f
Explicit GO111MODULE=on when getting required Go version
2024-01-19 22:46:48 +08:00
Kovid Goyal
89c3b4f9e2
macOS: Fix a regression in the previous release that broke overriding keyboard shortcuts for actions present in the global menu bar
...
Fixes #7016
2024-01-19 19:44:04 +05:30
Kovid Goyal
0bd50abd77
Start work on pager kitten
2024-01-19 15:09:20 +05:30
Kovid Goyal
7038292d11
Merge branch 'master' of https://github.com/solopasha/kitty
2024-01-19 14:03:30 +05:30
Kovid Goyal
b33f8416db
Fix for spurious github code scanning alert
2024-01-19 14:01:26 +05:30
Pavel Solovev
99b3d0727d
Fix build with gcc14
2024-01-19 11:25:53 +03:00
Kovid Goyal
9503725a32
Fix #7013
2024-01-19 13:29:12 +05:30
Kovid Goyal
eb5dd364ae
version 0.32.0
v0.32.0
2024-01-19 10:50:55 +05:30
Kovid Goyal
4a64f812ad
Merge branch 'boss-window-args' of https://github.com/ad-chaos/kitty
2024-01-19 07:46:36 +05:30
ad-chaos
c2acc2460b
expose glfw{Get,Set}WindowPos to python
2024-01-18 22:21:39 +05:30
Kovid Goyal
bea8fd25a7
Make argument handling of create_os_window() to be more robust and match its python signature
2024-01-18 21:58:39 +05:30
Kovid Goyal
1593baa9f9
remove unused include
2024-01-18 21:38:18 +05:30
Kovid Goyal
0447b17af2
Merge branch 'nth_os_window-fix' of https://github.com/jackielii/kitty
2024-01-18 19:08:58 +05:30
Jackie Li
0d3c5497ff
for #7009
...
Oops, the num is already negative index, no need to reverse here.
Alternatively this is shorter:
```
def nth_os_window(self, num: int = 1) -> None:
if not self.os_window_map:
return
if num == 0:
os_window_id = current_focused_os_window_id() or last_focused_os_window_id()
elif num > 0:
ids = tuple(self.os_window_map.keys())
os_window_id = ids[min(num, len(ids)) - 1]
else:
fc_map = os_window_focus_counters()
ids = sorted(fc_map.keys(), key=fc_map.__getitem__, reverse=True)
os_window_id = ids[min(-num, len(ids)-1)]
focus_os_window(os_window_id, True)
```
2024-01-18 09:53:47 +00:00
Kovid Goyal
7826fefe30
Merge branch 'nth_os_window-typo' of https://github.com/jackielii/kitty
2024-01-18 14:43:02 +05:30
Jackie Li
10ca74f502
fix typo and add a couple examples
2024-01-18 09:07:53 +00:00
Kovid Goyal
715548b144
Make test robust against wezterm's system wide shell integration
...
Not only is it system wide but it runs by default, even outside wezterm,
sigh.
2024-01-18 12:52:54 +05:30