Mitchell Hashimoto
de3ef0f78c
terminal/kitty-gfx: hook up delete
2023-08-23 11:37:14 -07:00
Mitchell Hashimoto
81498fe9be
terminal/kitty-gfx: delete newest
2023-08-23 11:35:14 -07:00
Mitchell Hashimoto
c0b58802ba
terminal/kitty-gfx: images store transmit time
2023-08-23 11:17:58 -07:00
Mitchell Hashimoto
73976824a1
terminal/kitty-gfx: delete by column, row, z
2023-08-23 11:12:51 -07:00
Mitchell Hashimoto
6f7a9c4523
terminal/kitty-gfx: we need to use rect, not sel
2023-08-23 11:07:48 -07:00
Mitchell Hashimoto
98f1b55ea4
terminal/kitty-gfx: delete intersection
2023-08-23 11:00:13 -07:00
Mitchell Hashimoto
9ab25ef350
terminal/kitty-gfx: delete intersecting cursor
2023-08-23 10:53:38 -07:00
Mitchell Hashimoto
6244cc38cc
terminal/kitty-gfx: delete by id
2023-08-23 10:38:40 -07:00
Mitchell Hashimoto
4b38fb96db
terminal/kitty-gfx: honor "z" setting
2023-08-23 09:55:13 -07:00
Mitchell Hashimoto
a082e4c1a2
terminal: delete lines (CSI M) should clamp count to remaining lines
2023-08-22 16:43:21 -07:00
Mitchell Hashimoto
5e45dc3386
input: kitty encoding should only output unmodified utf8 if printable
2023-08-22 15:00:53 -07:00
Mitchell Hashimoto
33c21c7339
terminal: mark kitty images as dirty on resize
2023-08-22 14:46:23 -07:00
Mitchell Hashimoto
7ff76ca00d
terminal/kitty-gfx: respect display c/r params
2023-08-22 14:43:50 -07:00
Mitchell Hashimoto
3bbfee676b
terminal/kitty-gfx: process source rectangle display params
2023-08-22 14:33:41 -07:00
Mitchell Hashimoto
84c72bbe46
renderer/metal: honor cell offset graphics command
2023-08-22 13:28:40 -07:00
Mitchell Hashimoto
e6155b7f19
terminal/kitty-gfx: add placement function get selection
2023-08-22 13:15:00 -07:00
Mitchell Hashimoto
e4e952d077
renderer/metal: image should always be rendered at desired x
2023-08-22 12:24:58 -07:00
Mitchell Hashimoto
65df9f4618
terminal/kitty-gfx: down movement off by one
2023-08-22 12:23:27 -07:00
Mitchell Hashimoto
3c513ccbcf
terminal/kitty-gfx: cursor pos x/y were flipped
2023-08-22 12:20:29 -07:00
Mitchell Hashimoto
71f1f35cfc
terminal/kitty-gfx: move cursor after image placement
2023-08-22 12:15:51 -07:00
Mitchell Hashimoto
5a9bbcbc2d
renderer/metal: clip image if necessary off top of viewport (scrolling)
2023-08-22 11:32:45 -07:00
Mitchell Hashimoto
53b25d0ecc
renderer/metal: set correct x/y for image
2023-08-22 10:14:57 -07:00
Mitchell Hashimoto
cb70d86c00
renderer/metal: emit draw calls for images
2023-08-22 10:12:40 -07:00
Mitchell Hashimoto
e665fc6741
renderer/metal: first pass at an image shader
2023-08-22 09:20:30 -07:00
Mitchell Hashimoto
5229cb93d2
renderer/metal: extract helpers for shaders/buffers
2023-08-22 08:49:34 -07:00
Mitchell Hashimoto
91f2343d1f
Merge pull request #314 from hovsater/allow-opt-osc-52-parameter
...
Allow optional OSC 52 parameter
2023-08-22 07:59:25 -07:00
Kevin Hovsäter
59fd918443
Allow optional OSC 52 parameter
...
Quoting from the XTerm documentation:
The first, Pc, may contain zero or more characters from the set c, p, q,
s, 0, 1, 2, 3, 4, 5, 6, and 7. It is used to construct a list of
selection parameters for clipboard, primary, secondary, select, or
cut-buffers 0 through 7 respectively, in the order given. If the
parameter is empty, xterm uses s 0 , to specify the configurable
primary/clipboard selection and cut-buffer 0.
See https://invisible-island.net/xterm/ctlseqs/ctlseqs.html
2023-08-22 14:20:19 +02:00
Mitchell Hashimoto
da4ead8f60
renderer/metal: deallocate unused image textures
2023-08-21 22:11:58 -07:00
Mitchell Hashimoto
20257c7a87
renderer/metal: images required by placements become textures
2023-08-21 21:40:57 -07:00
Mitchell Hashimoto
11bf2680b7
terminal/kitty-gfx: make some args const
2023-08-21 16:07:41 -07:00
Mitchell Hashimoto
660faf3ac3
terminal: clear screen, alt screen, etc. clear all kitty graphics
2023-08-21 15:34:46 -07:00
Mitchell Hashimoto
a02fa4e705
terminal/kitty-gfx: png decoding
2023-08-21 15:09:42 -07:00
Mitchell Hashimoto
a5a977be9f
terminal/kitty-gfx: file medium
2023-08-21 14:52:46 -07:00
Mitchell Hashimoto
5bb99efb84
terminal/kitty-gfx: temporary file medium
2023-08-21 14:43:24 -07:00
Mitchell Hashimoto
d821e023f3
terminal/kitty-gfx: test chunked loads
2023-08-21 12:06:26 -07:00
Mitchell Hashimoto
53c39c39d6
terminal/kitty-gfx: move all image decompression to loadingimage
2023-08-21 11:52:12 -07:00
Mitchell Hashimoto
fe79bd5cc9
terminal/kitty-gfx: centralize all image loading on LoadingImage
2023-08-21 11:40:03 -07:00
Mitchell Hashimoto
e56bc01c7e
terminal/kitty-gfx: base64 decode data as it comes in
2023-08-21 11:19:22 -07:00
Mitchell Hashimoto
9c9a62bf3c
terminal/kitty-gfx: test for non-compressed rgb image
2023-08-21 08:50:51 -07:00
Mitchell Hashimoto
a239f1198a
terminal/kitty-gfx: decompress as part of image completion, tests
2023-08-21 08:48:30 -07:00
Mitchell Hashimoto
b2432a672f
terminal/kitty-gfx: add debug function to dump image data
2023-08-21 08:28:20 -07:00
Mitchell Hashimoto
99abff85dd
input: pc style function keys should use all mods, not effective
2023-08-21 08:10:27 -07:00
Mitchell Hashimoto
89dfe85740
terminal/kitty-gfx: the data is base64 encoded!
2023-08-20 22:03:22 -07:00
Mitchell Hashimoto
c96fa2e85f
terminal/kitty-gfx: fix broken tests
2023-08-20 22:03:22 -07:00
Mitchell Hashimoto
59dcb85ad4
terminal/kitty-gfx: loading non-chunked image takes data slice ownership
2023-08-20 22:03:22 -07:00
Mitchell Hashimoto
03e0ba9081
terminal/kitty-gfx: zlib decompression for data validation
2023-08-20 22:03:21 -07:00
Mitchell Hashimoto
6ed3fcbfb0
terminal/kitty-gfx: fix big chunked load memory leak
2023-08-20 22:03:21 -07:00
Mitchell Hashimoto
bbcb2f96c8
terminal/kitty-gfx: huge progress on chunked transfers, lots of issues
2023-08-20 22:03:21 -07:00
Mitchell Hashimoto
e84f82bd97
terminal/kitty-gfx: assign an internal image id
2023-08-20 22:03:21 -07:00
Mitchell Hashimoto
b3a3ca1182
terminal/kitty-gfx: placement now works properly
2023-08-20 22:03:21 -07:00