Commit Graph
5251 Commits
Author SHA1 Message Date
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
pagedown dedbd14ace Fix action dump_lines_with_attrs 2021-12-10 12:22:21 +08:00
pagedown 98e44a8907 Unify resolution of absolute paths or config dir paths 2021-12-09 20:43:07 +08:00
pagedown b4f7cd94a1 Fix paste mappable action 2021-12-09 15:02:27 +08:00
Kovid Goyal 5f744368dd A new option exe_search_path to modify the locations kitty searches for executables to run 2021-12-09 12:13:26 +05:30
Kovid Goyal 77b15bf73f ... 2021-12-09 11:51:10 +05:30
Kovid Goyal 892b8c03eb Cleanup previous PR 2021-12-09 11:44:13 +05:30
pagedown 5d1f58427e ... 2021-12-09 11:57:17 +08:00
pagedown 02a7316342 Use the unified PATH search function 2021-12-09 11:32:30 +08:00
Kovid Goyal 50ce698524 oops 2021-12-08 22:21:15 +05:30
Kovid Goyal 32768e7939 Unify the PATH searching algorithm for launch and running children 2021-12-08 20:10:34 +05:30
Kovid Goyal 62dbc1129c When setting the OS Window title strip out CSI escape codes
Fixes #4325
2021-12-08 16:04:23 +05:30
pagedown 2c78a22270 Docs: generate relative url with link text in document 2021-12-08 17:20:52 +08:00
Kovid Goyal bc25e5a8a2 DRYer 2021-12-07 15:52:06 +05:30
Kovid Goyal 4af2526f54 Add a few more default responses for confirmations 2021-12-06 17:41:03 +05:30
Kovid Goyal 8f688fb33b When confirming close restore global state if the ask kitten is aborted without output
Fixes #4320
2021-12-06 17:25:27 +05:30
Kovid Goyal 6e351cd945 Restore ability to use foreground color unchanged for selections 2021-12-06 05:23:41 +05:30
Kovid Goyal 2d66e37dcb Fix selection_forground=none not being respected 2021-12-05 22:00:43 +05:30
Kovid Goyal 2da25d9187 Fix #4318 2021-12-05 20:50:28 +05:30
Kovid Goyal 11badac95d Ensure cell start position is clamped to a pixel 2021-12-05 18:26:25 +05:30
Kovid Goyal b4024bf7f2 DRYer 2021-12-05 18:21:00 +05:30
Kovid Goyal 759feac95b Make the gl pixel clamping functions more widely available 2021-12-05 18:16:36 +05:30
Kovid Goyal 33de23d01d Remove unused code 2021-12-05 18:03:37 +05:30
Kovid Goyal 3f0ecbb241 Use the new async response framework when setting background/logo images via RC. Avoids having to use --no-response 2021-12-05 18:02:09 +05:30