Kovid Goyal
f9cfb6f989
use sphinx extlinks instead of custon roles
2022-01-21 08:19:57 +05:30
Kovid Goyal
9caa6bb306
Nicer event printing
2022-01-19 14:32:03 +05:30
Kovid Goyal
acf227803f
Move event formatting into the types
2022-01-19 14:30:08 +05:30
Kovid Goyal
f255c15fa9
DRYer
2022-01-19 14:04:14 +05:30
Kovid Goyal
7ce74ac688
Also change string based on event type
2022-01-19 13:58:45 +05:30
Kovid Goyal
6090673bb5
DRYer
2022-01-19 13:56:02 +05:30
Kovid Goyal
d1b5420b08
Display space as a word when printing keys
2022-01-19 13:33:53 +05:30
Kovid Goyal
e0f2b96fd2
Merge branch 'debug-config' of https://github.com/page-down/kitty
2022-01-19 13:16:26 +05:30
Kovid Goyal
47fdce6483
remove executable perms from boss.py
2022-01-19 13:12:52 +05:30
pagedown
bac84f31b3
Refactor the print functions to make it easier to use in kitten
2022-01-19 15:26:02 +08:00
Kovid Goyal
0ae928f409
Increase max cache size for distribute_dots
...
Since it is now also used to render dotted underlines
2022-01-19 12:00:17 +05:30
pagedown
7bf7cc284d
Add the missing mouse triggers click (-2) and double-click (-3)
2022-01-19 14:12:39 +08:00
pagedown
ff1efebf70
Fix mouse maps are indented with one more space
2022-01-19 14:07:45 +08:00
pagedown
9334ed773e
Adjust the order of modifier key names to match the config and docs
2022-01-19 14:05:51 +08:00
Kovid Goyal
17a3be8cb1
Merge branch 'dotted-dashed-underline' of https://github.com/jcla1/kitty
2022-01-18 21:03:30 +05:30
Joseph Adams
ee2c9775a7
Use distribute_dots() to even out spacing in underline
2022-01-18 15:46:31 +01:00
Joseph Adams
da486153de
Add (possibly erroneous) test for new underline.
...
Also make more clear *what* exactly is rendered in the cell (i.e. a
strikethrough).
2022-01-18 12:52:59 +01:00
Kovid Goyal
6a2522452f
Allow including config files matching glob patterns in conf files
...
Fixes #4533
2022-01-18 16:28:19 +05:30
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
Kovid Goyal
cf91e1973b
Show number of windows per tab in the select_tab action
...
Fixes #4523
2022-01-16 10:03:20 +05:30
Kovid Goyal
2170d4e21a
DRYer
2022-01-16 09:47:44 +05:30
Kovid Goyal
2538e94390
Use a single SGR regex pattern cache
2022-01-16 09:46:52 +05:30
pagedown
f0d2d01a36
Fix calculating the end of the command output
2022-01-16 04:02:13 +08:00
pagedown
ce32e64692
Check the continued attribute when searching for prompt marks
2022-01-15 20:19:12 +08:00
pagedown
7ea8a7d45f
Fix searching the last command output
2022-01-15 18:38:05 +08:00
Kovid Goyal
ca4840717b
macOS: Fix using shortcuts from the global menu bar as subsequent key presses in a multi key mapping not working
...
Fixes #4519
2022-01-15 13:56:18 +05:30
Kovid Goyal
58da5d4d29
Placate mypy
2022-01-14 22:26:05 +05:30
Kovid Goyal
4ce6d718c9
icat kitten: Add options to mirror images and remove their transparency before displaying them
...
Fixes #4513
2022-01-14 22:02:35 +05:30
Kovid Goyal
dd31ee60f2
Fix typing of to_color
2022-01-14 21:54:36 +05:30
Kovid Goyal
72745dfb62
Use red fg for activity symbol by default
...
Can be overriden via template, but for backwards compat keep it red
2022-01-14 13:27:35 +05:30
Kovid Goyal
017da1159c
Allow using templates with text formatting for tab_activity_symbol
...
Fixes #4507
2022-01-14 08:18:04 +05:30
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
ce63ddfe54
macOS: Print out unhandled exceptions
2022-01-13 16:54:36 +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
62953c2057
Mark parameters as unused
2022-01-11 11:26:08 +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
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
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
8622c47348
Fix #4430
2022-01-08 10:00:25 +05:30
Kovid Goyal
1bfc46a24f
...
2022-01-08 09:16:32 +05:30
Kovid Goyal
8de787a2f3
Create shlex.join if it doesnt exist
2022-01-07 20:17:23 +05:30
Kovid Goyal
1454af2d41
macOS: Allow customizing the launch actions
2022-01-07 18:43:07 +05:30
Kovid Goyal
bf84f95a94
macOS: When launching a shell script use its shebang, if present
2022-01-07 13:52:13 +05:30