Kovid Goyal
a45d6c8b55
Fix #4421
2022-01-04 16:21:00 +05:30
Kovid Goyal
dadf496a68
remove leftover debug print
2022-01-04 12:01:23 +05:30
Kovid Goyal
dae8ae33f0
hints kitten: Fix matching of filenames enclosed in quotes or brackets not stripping the surrounding quotes properly. Fixes #4419
2022-01-04 10:58:31 +05:30
Kovid Goyal
b6254e4a67
version 0.24.0
v0.24.0
2022-01-04 08:21:17 +05:30
Kovid Goyal
53431c7ba8
Merge branch 'refactor' of https://github.com/page-down/kitty
2022-01-03 14:31:16 +05:30
pagedown
afa0bb4c1d
Avoid using the same variable name in different scopes
...
Variable names such as a and b are also used in the MIN and MAX macros.
2022-01-03 16:11:20 +08:00
pagedown
9ae2579dcb
The window width and height are always greater than zero here
2022-01-03 16:05:24 +08:00
Kovid Goyal
37fe98fdec
Fix failure on older python
2022-01-02 09:39:05 +05:30
Kovid Goyal
fe91b74ba7
...
2022-01-02 09:38:14 +05:30
Kovid Goyal
0fcc446298
Avoid extra type checking import of re
2022-01-02 09:26:52 +05:30
Kovid Goyal
e228f5105e
Merge branch 'refactor' of https://github.com/page-down/kitty
2022-01-02 09:23:25 +05:30
Kovid Goyal
719760fd7b
Remove unused UNUSED
2022-01-02 09:19:40 +05:30
Kovid Goyal
d3e87bcd4f
Another shadowed global variable
2022-01-02 09:04:26 +05:30
Kovid Goyal
be771456e1
Dont shadow global variable name
2022-01-02 08:59:34 +05:30
Kovid Goyal
8514782ad2
Remove unused code
...
icat already scales images to fit the screen in process_image() so dont
have to consider the case of the image being wider than the screen in
set_cursor()
2022-01-02 08:56:17 +05:30
pagedown
a3e9e0f010
Use the already imported subprocess
2022-01-01 21:29:46 +08:00
pagedown
15615a4cd1
Avoid defining variables with the same name that already exist
...
Avoid using existing parameter names for local variables.
Avoid using variable names from upper level for nested loops.
Avoid local variables hiding existing global variables.
2022-01-01 21:29:32 +08:00
pagedown
7246fb347c
Remove the unused function
2022-01-01 21:29:06 +08:00
pagedown
f1b6fb397b
Remove redundant variable assignment
2022-01-01 21:28:55 +08:00
pagedown
49fbeb9a56
Remove the always true conditions
...
Unsigned integers are always greater than or equal to zero.
The else branch is always the opposite.
2022-01-01 21:27:01 +08:00
Kovid Goyal
f17d71454a
...
2021-12-31 22:51:16 +05:30
Kovid Goyal
59ea7485e4
Fix loading of kitty completions broken by unfunctioning of kitty-integration
2021-12-31 22:49:09 +05:30
Kovid Goyal
ff63e58f95
Get _ksi_debug_print working again
2021-12-31 22:38:39 +05:30
Kovid Goyal
79ec8b60b9
Fix visual select window sometimes showing stale window titles
2021-12-31 21:08:20 +05:30
Kovid Goyal
846c774ac2
DRYer
2021-12-31 20:58:06 +05:30
Kovid Goyal
940e311c74
Add a section to the changelog showcasing major recent new features
2021-12-31 20:38:50 +05:30
Kovid Goyal
251667a30e
...
2021-12-31 09:44:00 +05:30
Kovid Goyal
e45697f78a
Fix a regression that broke rendering of unicode regional indicators
...
At some point, unicode regional indicators became combining chars in the
unicode standard, which broke the handling of them in draw_codepoint().
The fix has the added advantage of improving performance in the common
case by only checking for combining chars. The flag check happens only
if the first check matches.
Fixes #4407
2021-12-31 09:28:47 +05:30
Kovid Goyal
ea63efa522
Merge branch 'refactor-dry' of https://github.com/page-down/kitty
2021-12-31 06:42:46 +05:30
pagedown
60839cdb47
DRYer: Use gl_size to convert coordinates
2021-12-31 09:04:47 +08:00
Kovid Goyal
a867b4444d
Clamp border rects to pixels
...
This uses the same co-ord calculation for border rects as for text
cells. DRYer and avoids borders and blank rects being drawn at haf pixel
offsets.
2021-12-31 06:20:57 +05:30
Kovid Goyal
072fe91518
...
2021-12-30 20:44:30 +05:30
Kovid Goyal
07e6171dc5
DRYer
2021-12-30 20:32:17 +05:30
Kovid Goyal
9a80fcee37
Ensure sizes for window number decorations are correct
2021-12-30 19:05:06 +05:30
Kovid Goyal
7731a558f0
Merge branch 'fix-shell.nix-on-macOS-arm' of https://github.com/Luflosi/kitty
2021-12-30 17:50:19 +05:30
Luflosi
7ea4c1e47f
shell.nix: add dependency needed on Apple silicon
...
shell.nix is missing a depencency on the UserNotifications framework on macOS with Apple silicon. Unfortunately we can't just unconditionally include this dependency because Nixpkgs uses a different macOS SDK version for macOS on an Intel processor compared to macOS on Apple silicon. The older SDK version 10.12 on Intel does not have the UserNotifications framework, which would lead to an "attribute missing" error when trying to execute `nix-shell`. The condition can be dropped when the macOS SDK version for Intel processors is finally updated. See https://github.com/NixOS/nixpkgs/issues/101229 for progress on that.
See https://github.com/NixOS/nixpkgs/pull/137512 for more context.
Closes https://github.com/kovidgoyal/kitty/issues/4352 .
2021-12-28 15:35:16 +01:00
Kovid Goyal
f6b748712c
Clamp positions of window numbers/titles to nearest pixel
...
Avoids jaggies in rendering
2021-12-26 11:05:16 +05:30
Kovid Goyal
93abedd93f
Replace the screenshot on the landing page with a video
2021-12-24 13:26:34 +05:30
Kovid Goyal
872cd7b2d5
Fix unfunctioning ofkitty-integration in docs
...
It has to be unfunctioned after being run once
2021-12-24 10:26:02 +05:30
Kovid Goyal
a7e03f9c63
Merge branch 'docs' of https://github.com/page-down/kitty
2021-12-24 10:23:46 +05:30
pagedown
f53dfb27e2
Docs: Add macOS mouse wheel scrolling and title bar options changes
2021-12-24 12:37:54 +08:00
pagedown
36b4e0edd2
Docs: Also fixed the input issue in toggling non-traditional fullscreen
2021-12-24 12:29:08 +08:00
pagedown
9081947751
Docs: Prefer semi-bold on macOS only
2021-12-24 12:11:02 +08:00
pagedown
f58013f2c6
Docs: Cross-platform IME integration improvements
2021-12-24 12:06:41 +08:00
pagedown
ae35507f80
Use the lowercase kitty
2021-12-24 12:02:54 +08:00
pagedown
73ff508b51
Docs: unfunction kitty-integration
2021-12-24 11:46:08 +08:00
pagedown
b0ccf74029
Docs: Replace Unicode left single quote with ASCII single quote
2021-12-24 11:44:58 +08:00
Kovid Goyal
6046dc8598
Merge branch 'zsh-integration' of https://github.com/romkatv/kitty
2021-12-24 07:55:07 +05:30
Roman Perepelitsa
9bba38bd11
Unfunction kitty-integration in zsh
2021-12-23 19:09:09 +01:00
Kovid Goyal
59505d17d5
Update docs for new zsh integration code
2021-12-23 20:40:46 +05:30