Kovid Goyal
ccc370e1c4
Dont initialize FontConfig when importing fast_data_types
...
This reduces the import time for fast_data_types by 12ms on my machine.
FontConfig initialization is very slow and it is only needed by the
main kitty program, however fast_data_types is imported in kittens and
remote control as well, where FontConfig is useless.
2021-05-15 10:41:54 +05:30
Kovid Goyal
23b8cafc41
Add layout name completion to @ goto-layout
2021-05-15 10:25:34 +05:30
Kovid Goyal
d7ab96856c
...
2021-05-15 09:42:52 +05:30
Kovid Goyal
3c77229f61
Add --no-response to set-background-image
2021-05-15 09:41:22 +05:30
Kovid Goyal
fcd206891f
kitty @ get-text add an option to also get the current cursor position and state as ANSI escape codes
...
Fixes #3625
2021-05-15 09:27:28 +05:30
Kovid Goyal
3bf9130b0a
Fix deleting windows that are not the last window via remote control leaving no window focused
...
Fixes #3619
2021-05-14 07:25:48 +05:30
Kovid Goyal
4125ac013f
Validate command line args to @ goto-layout better
2021-05-13 20:46:37 +05:30
Kovid Goyal
e089e9c121
Clarify what --debug-config does
2021-05-13 20:19:34 +05:30
Kovid Goyal
81af379bbc
correct spelling
2021-05-13 17:46:21 +05:30
Kovid Goyal
9b07aa6894
Simplify Quickstart section by delegating repo link to repology.org
...
Also add a warning about some Linux distros with outdated packages.
2021-05-13 17:42:29 +05:30
Kovid Goyal
a75140c6d7
Add a --working-directory alias for --directory as this is commonly used in many terminal emulators
2021-05-13 16:13:46 +05:30
Kovid Goyal
f3364cfdc0
Guard against invalid cache file in a couple more places
2021-05-13 09:51:57 +05:30
Kovid Goyal
f64b4e0e56
...
2021-05-12 20:26:38 +05:30
Kovid Goyal
a1356d3bcf
...
2021-05-12 12:29:53 +05:30
Kovid Goyal
4c5a1ceefa
Add a FAQ entry for why one should never output binary data into terminals
2021-05-12 12:24:29 +05:30
Kovid Goyal
e4b4a35375
macOS: Fix rendering getting stuck on some machines after sleep/screensaver
...
This is caused, as far as I can tell, by CVDisplayLink getting stuck.
Apple apparently are incapable of writing a simple timer robustly.
So if it remains stuck after a second delete and recreate it to force it
to restart.
Fixes #2016
2021-05-12 07:30:17 +05:30
Kovid Goyal
cc2afef390
Make the max number of unscrolled lines implementation defined
2021-05-11 14:55:14 +05:30
Kovid Goyal
7c5706ead9
Add the ability to unscroll the screen to the `kitty @ scroll-window` remote control command
...
Fixes #3604
2021-05-11 14:36:52 +05:30
Kovid Goyal
bcb739fcd2
Allow clicking URLs to open them without needing to also hold ctrl+shift
2021-05-11 14:20:12 +05:30
Kovid Goyal
85ef3724f1
Proper prefix when reporting Move events
2021-05-11 14:02:17 +05:30
Kovid Goyal
cb21422836
Add click and doubleclick events as well
2021-05-11 13:59:52 +05:30
Kovid Goyal
1c9674cec9
SPlit up add_click into two functions
2021-05-11 13:19:34 +05:30
Kovid Goyal
6dcc09a96f
Port mouse selection tests to new framework
2021-05-11 11:49:44 +05:30
Kovid Goyal
0260c9d3fb
Add a note about selection drag being auto-released
2021-05-11 11:18:10 +05:30
Kovid Goyal
80c03f28f8
Add a note about backward incompatibility
2021-05-11 10:36:48 +05:30
Kovid Goyal
eeaf67079a
DRYer
2021-05-11 10:33:01 +05:30
Kovid Goyal
c50863c0d5
Add a note about --debug-input
2021-05-11 10:28:27 +05:30
Kovid Goyal
f4ab6542fa
...
2021-05-11 10:24:48 +05:30
Kovid Goyal
dfbe1bd234
Add debug prints for mouse events
2021-05-11 10:22:30 +05:30
Kovid Goyal
1e89cdc055
Get middle click paste working and dont trigger when mouse is grabbed
2021-05-11 09:20:27 +05:30
Kovid Goyal
7a40959f13
Add a configurable mouse action to select from the clicked point to the end of the line.
...
Fixes #3585
2021-05-11 09:01:52 +05:30
Kovid Goyal
2b4d55804c
Document the mouse action mapping infrastructure
2021-05-11 08:39:13 +05:30
Kovid Goyal
858dac5601
Port mouse selection handling to the new generic mouse actions framework
2021-05-10 21:33:13 +05:30
Kovid Goyal
e944945b7a
Implement URL clicking handler
2021-05-10 15:35:50 +05:30
Kovid Goyal
920151a460
Fix mouse event dispatch
2021-05-10 14:48:29 +05:30
Kovid Goyal
ac2a01fb09
Implement documentation generation and conf file generation for mouse actions
2021-05-10 14:27:45 +05:30
Kovid Goyal
a7933018cb
Start work on intercepting mouse events
2021-05-10 07:16:43 +05:30
Kovid Goyal
5ee889eadd
Dont carry around a bunch of definitions that were only needed during parsing on the opts object
2021-05-10 07:16:43 +05:30
Kovid Goyal
e811f03011
Match key names
2021-05-10 07:16:43 +05:30
Kovid Goyal
417c81de60
Implement parsing for mouse_map config
2021-05-10 07:16:43 +05:30
Kovid Goyal
212c653165
Maintain separate click queues for every button
2021-05-10 07:16:43 +05:30
Kovid Goyal
e36f11385f
Convert mouse buttons to an enum
2021-05-10 07:16:43 +05:30
Kovid Goyal
abb05f4883
...
2021-05-10 07:16:43 +05:30
Kovid Goyal
2973f33959
Start work on parsing mouse mappings
2021-05-10 07:16:43 +05:30
Kovid Goyal
053c2ed2b9
Make pow10_array const
2021-05-10 07:16:43 +05:30
Kovid Goyal
1865570390
Dont force dragging to be with left button
2021-05-10 07:16:43 +05:30
Kovid Goyal
ba1ee7e6cc
Code to dispatch mouse events to python
2021-05-10 07:16:43 +05:30
Kovid Goyal
f6b0fcbc0f
Add a link to patat
2021-05-10 07:12:31 +05:30
Kovid Goyal
a802058886
Add a link to hologram.nvim
2021-05-10 07:08:27 +05:30
Kovid Goyal
bbc1f68966
Add a link to euporie
2021-05-10 07:04:45 +05:30