Commit Graph
8650 Commits
Author SHA1 Message Date
Joseph Adams e86c7d668c Add rendering functions for dotted and dashed underline.
Dashed underline looks pretty good regardless of conditions, but the
dotted underline only looks good/correct on certain font-sizes. This is
due to the underline being rendered on a per cell/glyph basis (so one
can not place a dot directly between two letters, say. Could be remedied
by pulling the rendering of the underlines into the shader, but that is
more work.
2022-01-17 13:25:08 +01:00
Joseph Adams a2c4f830b3 Enable use of higher options for underlining text.
In `Colored and styled underlines` it's proposed that the SGR codes
\e[4:4m and \e[4:5m are used to add a dotted or dashed underline to the
rendering context respectively. This commit prepares the necessary
changes to add the two additional underline style, while still rendering
them as a normal underline and curly underline.
2022-01-13 17:27:02 +01:00
Kovid Goyal ecf4fcdeb0 Add changelog entry for previous PR
Fixes #4489
2022-01-13 20:24:17 +05:30
Kovid Goyal 0a89fe2e17 Merge branch 'fix-macos-text-input-beep' of https://github.com/page-down/kitty 2022-01-13 20:23:23 +05:30
pagedown 5b5651ca7d macOS: Suppress the key combinations beep sound 2022-01-13 22:51:53 +08:00
Kovid Goyal 5e5cd1acc8 Simplify flagsChanged and make it more robust
Now it only sends a key event to kitty if an actual modifier key was
pressed/released.
2022-01-13 20:13:55 +05:30
Kovid Goyal 79fd01093a fix typo in generating lookup keys for vk code based shortcuts 2022-01-13 19:21:49 +05:30
Kovid Goyal ce63ddfe54 macOS: Print out unhandled exceptions 2022-01-13 16:54:36 +05:30
Kovid Goyal a56471f7ed Validate the parameters array 2022-01-13 16:44:43 +05:30
Kovid Goyal 96b46c554e Add type annotations to dictionaries 2022-01-13 16:29:13 +05:30
Kovid Goyal a819023ab7 remove redundant cast 2022-01-13 16:05:48 +05:30
Kovid Goyal 9504f50bd4 ... 2022-01-13 16:04:50 +05:30
Kovid Goyal 8fe71e3dc8 Dont use a block for dictionary enumeration
Maybe that will fix the mysterious issue @page-down is having
2022-01-13 16:02:29 +05:30
Kovid Goyal 34d7643bed Ensure global_shosrtcuts is initialized 2022-01-13 15:10:19 +05:30
Kovid Goyal 682eb7d802 Log when events are ignored because no keyWindow is present 2022-01-13 14:22:52 +05:30
Kovid Goyal f86a954131 ooops 2022-01-13 14:21:58 +05:30
Kovid Goyal 8e3f6d37d9 ... 2022-01-13 14:15:39 +05:30
Kovid Goyal 2c38360ca0 Handle no keyWindow case 2022-01-13 13:43:01 +05:30
Kovid Goyal f9d2167c97 macOS: Respect the users system-wide global keyboard shortcut preferences
Note that we currently dont handle live reload of global shortcut
preferences. I cant be bothered. Patches welcome.
Fixes #4501
2022-01-13 13:36:58 +05:30
Kovid Goyal 17cada7a6a Micro-optimization 2022-01-12 23:32:03 +05:30
Kovid Goyal 19e6f70655 Draw the dots for braille characters more evenly spaced at all font sizes
Fixes #4499
2022-01-12 23:18:18 +05:30
Kovid Goyal d106089cb9 Micro-optimization 2022-01-12 22:25:58 +05:30
Kovid Goyal 0f7f69c218 move menu case outside auto-generated section 2022-01-11 22:57:05 +05:30
Kovid Goyal f9171a767c Also document menu key encoding 2022-01-11 22:48:53 +05:30
Kovid Goyal 34e939f9a1 Encode menu key the same as xterm in legacy mode
See #597
2022-01-11 22:44:56 +05:30
Kovid Goyal ba76cacd74 Add changelog entry for previous PR 2022-01-11 20:10:38 +05:30
Kovid Goyal fd1b64dcc6 Merge branch 'fixes-fullscreen-hide-macos-10.15' of https://github.com/npearson72/kitty 2022-01-11 20:09:10 +05:30
Nathan Pearson 7c33d7ef17 Bumps version from 10.15 to 10.15.7 (latest minor) 2022-01-11 07:31:37 -07:00
Nathan Pearson 2ccfecb5ae Fixes comment 2022-01-11 06:39:48 -07:00
Nathan Pearson a40ff85e1a Fixes traditional fullscreen hide for Mac OS >= 10.15 2022-01-11 06:25:39 -07:00
Kovid Goyal 62953c2057 Mark parameters as unused 2022-01-11 11:26:08 +05:30
Kovid Goyal 0e6091773d Add a poster for the demo video 2022-01-11 11:09:43 +05:30
Kovid Goyal 4c8ef26141 For the vertical and horizontal layouts have the windows arranged on a ring rather than a plane. This means the first and last window are considered neighbors
Fixes #4494
2022-01-11 08:08:11 +05:30
Kovid Goyal 7023c7a8ae ... 2022-01-10 21:15:24 +05:30
Kovid Goyal b2bfc4408e Fix common single letter extension files not being detected
Fixes #4491
Fixes #4492
2022-01-10 14:20:18 +05:30
Kovid Goyal 5b8aca3a2f Use an f-string 2022-01-10 08:35:43 +05:30
Kovid Goyal 6715ee888e Merge branch 'cleanup' of https://github.com/page-down/kitty 2022-01-10 08:01:13 +05:30
pagedown 4293325539 Cleanup previous PR
Revert the changes related to set_options debug_keyboard.
Remove the Carbon framework flag for glfw.
2022-01-10 10:24:10 +08:00
Kovid Goyal 24c44861ef Cleanup previous PR
Simplify wrapping of toggle_secure_input
Dont duplicate debug_keyboard flag in two places
2022-01-09 22:11:22 +05:30
Kovid Goyal eafd20b4b3 Merge branch 'feat-macos-sec-kbd' of https://github.com/page-down/kitty 2022-01-09 22:03:31 +05:30
pagedown d9e5edac01 Refactor: Replace double quotes with single quotes 2022-01-09 22:54:33 +08:00
pagedown f7be4fab48 macOS: Allow mapping secure keyboard entry shortcut 2022-01-09 22:54:03 +08:00
Kovid Goyal 50c822e05a Merge branch 'zsh-integration' of https://github.com/romkatv/kitty 2022-01-09 15:44:43 +05:30
Roman Perepelitsa 6c1fd3015f Fix a minor bug in zsh integration
This bug is extremely unlikely to cause issues.
2022-01-09 10:45:47 +01:00
Kovid Goyal de3b9634ac Add links to third party shell integrations 2022-01-09 04:30:32 +05:30
Kovid Goyal 722f6163aa Use tabs for zsh/fish in hg kitten docs 2022-01-09 03:54:33 +05:30
Kovid Goyal 82a4e72c85 Merge branch 'patch-1' of https://github.com/ronjouch/kitty 2022-01-09 03:51:54 +05:30
Ronan Jouchet c40bd7ce82 kittens/hyperlinked_grep: document how to tell fish to autocomplete with rg
It was documented for zsh but not fish (2 lines above).

While looking for how to do the same in fish, I couldn't find how to do
*exactly the same*, but turns out there's a neat way to do both the
aliasing and autocompletion mapping at the same time.

See https://fishshell.com/docs/current/cmds/function.html :

> `-w WRAPPED_COMMAND` or `--wraps=WRAPPED_COMMAND` causes the function
> to inherit completions from the given wrapped command. See the
> documentation for [complete](https://fishshell.com/docs/current/cmds/complete.html#cmd-complete)
> for more information.
2022-01-08 14:43:36 -05:00
Kovid Goyal 356897a32d macOS: Persist "Secure Keyboard Entry" across restarts to match the behavior of Terminal.app
Fixes #4471
2022-01-08 14:13:14 +05:30
Kovid Goyal ac0c10c170 Simplify if condition 2022-01-08 14:06:22 +05:30