5355 Commits

Author SHA1 Message Date
pagedown
a987fb81a0
Emits an IME lost focus event when the window lost focus or closed 2022-01-27 10:13:57 +08:00
pagedown
22f077b384
Clear overlay text after screen loses focus 2022-01-27 09:53:40 +08:00
Kovid Goyal
364bad504c
CSI 0 q should blink cursor as per xterm docs and behavior 2022-01-25 13:29:44 +05:30
Kovid Goyal
c0be0f74d8
Use commit text instead of a zero key event
Thanks @page-down
2022-01-22 21:11:26 +05:30
Kovid Goyal
a9e014226e
Merge branch 'docs' of https://github.com/page-down/kitty 2022-01-22 20:58:30 +05:30
pagedown
b498d86436
Docs: Add modifier key names and aliases 2022-01-22 23:08:44 +08:00
Kovid Goyal
ff836a85aa
Special case the IME injecting text in on_key_input 2022-01-22 20:00:03 +05:30
Kovid Goyal
f21ddae94f
Handle setMarkedText called from the event loop
Also pass through text with zero key
2022-01-22 16:08:50 +05:30
Kovid Goyal
5f4e519d61
... 2022-01-22 15:13:53 +05:30
Kovid Goyal
720bf7efd6
Fix mouse position reported incorrectly on click event in a newly created window if the mouse has never moved in that window 2022-01-22 15:10:14 +05:30
Kovid Goyal
08f159c2ba
TypeCheck underline style names 2022-01-22 12:41:26 +05:30
Kovid Goyal
d219654387
Use a dedicated choose() method matching confirm() 2022-01-22 12:27:20 +05:30
Kovid Goyal
ce7282a53c
DRYer 2022-01-22 10:47:52 +05:30
Kovid Goyal
0d33380e6a
Cleanup previous PR
yesno default should be yes.
Pressing q to quit is undiscoverable
Clicking empty cells should not trigger buttons as that is
undiscoverable and possibly surprising
2022-01-22 10:44:01 +05:30
Kovid Goyal
9944b895a6
Merge branch 'kitten-ask' of https://github.com/page-down/kitty 2022-01-22 10:06:52 +05:30
pagedown
7ef73babdd
Use fixed values for unchanging dict to replace split and for loops 2022-01-22 11:36:04 +08:00
pagedown
a47aca6fdb
Add new dotted and dashed underline enum
Also use "straight" for single underline, consistent with the protocol
extension document.
2022-01-22 11:00:49 +08:00
pagedown
bf9d47fddd
... 2022-01-22 09:51:28 +08:00
pagedown
d29faa0986
Allow tab title to be set to empty to use window title 2022-01-22 03:28:42 +08:00
pagedown
88ee5e95fc
Add default choices for features that use ask kitten 2022-01-22 03:21:59 +08:00
pagedown
9a119255fe
ask kitten: Use the default value as input text
Prefill the current value when changing the tab title.
2022-01-22 03:11:39 +08:00
Kovid Goyal
7e82179c79
... 2022-01-21 21:20:49 +05:30
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