Commit Graph
5274 Commits
Author SHA1 Message Date
Kovid Goyal e8b19e08fa Fix non-renderable combining chars causing some text to not be rendered on Linux
The test for non-renderable chars was broken and the variation selectors
were not included in the test. Fixes #4444
2022-01-05 22:33:53 +05:30
Kovid Goyal 2a58af2be9 Ignore all errors rendering /etc/issue 2022-01-05 14:04:56 +05:30
Kovid Goyal d875615c03 Fix a regression in the handling of some combining characters such as zero width joiners
Fixes #4439
2022-01-05 08:50:55 +05:30
Kovid Goyal f66914f7bb ... 2022-01-04 20:29:53 +05:30
Kovid Goyal 58e1f6ee1f Use ctermid() for tty_name 2022-01-04 20:25:16 +05:30
Kovid Goyal f8fc272f58 Make loading IssueData more robust
Fixes #4424
2022-01-04 19:57:23 +05:30
Fladson Gomes 58a28da94d Fix documentation typo 2022-01-04 14:46:25 +01:00
Kovid Goyal 26b976d17d Merge branch 'fix-mouse-scroll' of https://github.com/page-down/kitty 2022-01-04 18:01:30 +05:30
pagedown 3141fc3f05 Update mouse cursor position when scrolling without OS window focus 2022-01-04 19:39:36 +08:00
Kovid Goyal b6254e4a67 version 0.24.0 2022-01-04 08:21:17 +05:30
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 d3e87bcd4f Another shadowed global variable 2022-01-02 09:04:26 +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 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 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 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
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 f6b748712c Clamp positions of window numbers/titles to nearest pixel
Avoids jaggies in rendering
2021-12-26 11:05:16 +05:30
pagedown 9081947751 Docs: Prefer semi-bold on macOS only 2021-12-24 12:11:02 +08:00
pagedown b0ccf74029 Docs: Replace Unicode left single quote with ASCII single quote 2021-12-24 11:44:58 +08:00
Kovid Goyal 70d5a5134f Log a nicer error message when failing to read cwd of a process 2021-12-22 16:22:33 +05:30
pagedown 8abfb50aed Ignore invalid title bar color 2021-12-21 17:51:00 +08:00
pagedown 278477b387 Add light and dark to the macOS title bar option 2021-12-21 15:14:08 +08:00
Kovid Goyal b59e42c9cc Fix animations getting paused when switching to alternate screen and back 2021-12-21 08:24:43 +05:30
Roman Perepelitsa 09d025d88f Minor robustness improvements to zsh shell integration 2021-12-20 13:20:38 +01:00
pagedown 6afabf7e2a Fix mouse scrolling kitty window without OS window focus 2021-12-17 23:57:38 +08:00
Kovid Goyal a4d4cf5819 Fix #4367 2021-12-17 17:35:13 +05:30
Kovid Goyal 1be7425186 Another mypy 0.920 fix 2021-12-17 06:15:10 +05:30
Kovid Goyal 8f0825bc5c Various fixes for mypy 0.920 2021-12-17 05:56:19 +05:30
Kovid Goyal 81753706d3 oops 2021-12-15 20:30:11 +05:30
Kovid Goyal 4120be3e2d Allow using "tab" colors in the title template
Fixes #4360
2021-12-15 20:09:23 +05:30
Kovid Goyal 832f73fde9 Fix incorrect example in tab template docs
Should be fmt.bg.default not fmt.bg.normal
Fixes #4360
2021-12-15 19:37:17 +05:30
Kovid Goyal 1f264ffec5 Fix push/pop of colors not updating colors on screen until a dynamic color is also changed.
Fixes #4351
2021-12-13 11:17:54 +05:30
pagedown 42b5b1cbf7 Fix remote control scroll-window argument parsing 2021-12-11 14:47:57 +08:00
pagedown 7e449dec4f Docs: Use underscores in kitten document filenames 2021-12-10 17:30:51 +08:00
Kovid Goyal a4cd10c6fb ... 2021-12-10 12:29:49 +05:30
pagedown 8ae0ae2c93 Docs: use the action name of the shortcut in several places 2021-12-10 14:36:16 +08:00
pagedown 59957a913a List kitten names in the kitten default shortcuts list 2021-12-10 14:33:29 +08:00