Commit Graph
4330 Commits
Author SHA1 Message Date
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 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 ca0b42c3bd oops 2021-05-10 06:28:03 +05:30
Kovid Goyal cfd731c376 Merge branch 'background-process-always-inherit-env' of https://github.com/trygveaa/kitty 2021-05-10 06:11:31 +05:30
Trygve Aaberge de1015f6ac When running a background process, always inherit env
subprocess.Popen inherits the current environment if you pass env=None,
but only sets the environment you pass when you pass something else.
This causes an issue with using launch with --stdin-source and
--type=background, e.g. that DISPLAY is not set so you can't launch
graphical processes. Therefore, we have to include os.environ when we
pass an env to Popen.

Fixes #3602
2021-05-09 20:52:25 +02:00
Kovid Goyal 355808b0f6 Fix dynamically changing the background color in a window causing rendering artifacts in the tab bar
Fixes #3595
2021-05-09 11:54:51 +05:30
Kovid Goyal 80c13fa75b Use same co-ord system for cursor as in KITTY_PIPE_DATA 2021-05-09 08:11:05 +05:30
Kovid Goyal 9a6c2aa1ea Add a few more special command line arguments for launch
Now all ``KITTY_PIPE_DATA`` is also available via command line argument substitution
Fixes #3593
2021-05-09 07:46:37 +05:30
Kovid Goyal 63d76ee837 macOS: When the Apple Color Emoji font lacks an emoji glyph search for it in other installed fonts
Fixes #3591
2021-05-09 07:17:32 +05:30
Kovid Goyal 7c48db7da8 Merge pull request #3592 from aaronjanse/allocation_typo
fix allocation typo
2021-05-08 15:10:10 +05:30
Aaron Janse bd8d5f6288 fix allocation typo 2021-05-08 01:51:29 -07:00
Kovid Goyal 74c1e02274 Remove redundant F1-F4 defs in cursor key more 2021-05-07 15:20:26 +05:30
Kovid Goyal efb0f6f24a Fix a regression in 0.20.0 that sent incorrect bytes for the F1-F4 keys in rmkx mode
Fixes #3586
2021-05-07 15:09:42 +05:30
Kovid Goyal eced40a761 ... 2021-05-07 09:31:31 +05:30
Kovid Goyal 5ac315bc3a DRYer 2021-05-07 09:30:44 +05:30
Kovid Goyal 32df4daa63 Fix warning from CodeQL 2021-05-07 09:27:52 +05:30
Kovid Goyal dc6ab69387 Workaround spurious error reported by ASAN 2021-05-07 08:34:18 +05:30
Kovid Goyal 7301c56753 ... 2021-05-07 07:42:39 +05:30
Kovid Goyal 3b76d657bd Fix colored indication not being sent to GPU 2021-05-07 07:41:19 +05:30
Kovid Goyal 2adb6240e4 Reduce GPU memory for infinite length ligatures
An infinite length ligature (longer than 9 glyphs) that has long
sequences of a repeated glyph now does not store a separate sprite
for every repeat.

For example in the ligature ---------- even though there are 10 hyphen
glyphs only four will be stored on the GPU.
2021-05-07 06:59:30 +05:30
Kovid Goyal e11af496da Remove incorrect cast 2021-05-07 06:59:30 +05:30
Kovid Goyal f6e33406d7 Dont assume all sprites are rendered if the first one is 2021-05-07 06:59:30 +05:30
Kovid Goyal 6eab138d68 ... 2021-05-07 06:59:29 +05:30
Kovid Goyal 33287115de Support infinite length ligatures 2021-05-07 06:59:24 +05:30
Kovid Goyal 8e36056dd8 oops 2021-05-07 06:58:55 +05:30
Kovid Goyal 4a34f596a8 Remove MAX_EXTRA_GLYPHS_IN_GROUP 2021-05-07 06:58:55 +05:30
Kovid Goyal 7616a3e743 ... 2021-05-07 06:58:55 +05:30
Kovid Goyal c64353c324 Dont make canvas dependent on max num of glyphs 2021-05-07 06:58:55 +05:30
Kovid Goyal 8eac22d37a typo 2021-05-07 06:58:55 +05:30
Kovid Goyal 35fab12330 Dont rely on max glyphs limit for scratch space 2021-05-07 06:58:55 +05:30
Kovid Goyal a46988bc50 Simplify code by getting rid of ExtraGlyphs 2021-05-07 06:58:54 +05:30