Cleanup previous PR
This commit is contained in:
parent
a2104d3755
commit
d994a47fc8
2 changed files with 26 additions and 11 deletions
|
|
@ -176,9 +176,12 @@ Detailed list of changes
|
||||||
0.50.0 [future]
|
0.50.0 [future]
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
- Graphics protocol: Add a new :ref:`transient usage hint <image_usage_hints>` that clients can send to terminals to indicate an image is meant for only short duration use (:pull:`10092`)
|
||||||
|
|
||||||
- kitten @ get-text: Add support for :code:`alternate` and :code:`alternate_scrollback` extents to fetch text from the alternate screen buffer (:iss:`10165`)
|
- kitten @ get-text: Add support for :code:`alternate` and :code:`alternate_scrollback` extents to fetch text from the alternate screen buffer (:iss:`10165`)
|
||||||
|
|
||||||
- Wayland: Fix first OS window being a few cells too small when :opt:`initial_window_width`/:opt:`initial_window_height` are set in cells and a fractional display scale is in use (:iss:`10146`)
|
- Wayland: Fix first OS window being a few cells too small when ``initial_window_width/initial_window_height`` are set in cells and a fractional display scale is in use (:iss:`10146`)
|
||||||
|
|
||||||
|
|
||||||
0.47.4 [2026-06-15]
|
0.47.4 [2026-06-15]
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
|
||||||
|
|
@ -834,6 +834,27 @@ use the ``i`` key with the image id for all future communication.
|
||||||
The ability to use image numbers (see :doc:`kittens/query_terminal` to query kitty version)
|
The ability to use image numbers (see :doc:`kittens/query_terminal` to query kitty version)
|
||||||
|
|
||||||
|
|
||||||
|
.. _image_usage_hints:
|
||||||
|
|
||||||
|
Usage hints
|
||||||
|
-----------------------------
|
||||||
|
|
||||||
|
Clients can specify *usage hints* when creating images using the ``N`` key.
|
||||||
|
These hints allow the terminal to optimise resource consumption such as caching
|
||||||
|
strategies. The value of ``N`` is a bitmask.
|
||||||
|
|
||||||
|
Currently the only usage hint defined is ``transient (N == 1)``.
|
||||||
|
The terminal is free to assume that an image with this hint
|
||||||
|
will be used for only a short time, and so may, for example, evict its
|
||||||
|
data before other images when the image is soft deleted, has no visible
|
||||||
|
placements and the terminal is under storage pressure, or skip writing
|
||||||
|
its data to disk. The terminal is also free to ignore the hint. If an
|
||||||
|
animation frame with the *transient* hint is composited onto another
|
||||||
|
frame, and any of the involved frames have the hint, the resulting
|
||||||
|
composited frame also has the hint. This hint must be specified when the
|
||||||
|
image or frame data is transmitted. It has no effect on placement commands.
|
||||||
|
|
||||||
|
|
||||||
.. _animation_protocol:
|
.. _animation_protocol:
|
||||||
|
|
||||||
Animation
|
Animation
|
||||||
|
|
@ -1052,16 +1073,7 @@ Key Value Default Description
|
||||||
``only z``
|
``only z``
|
||||||
``m`` zero or one ``0`` Whether there is more chunked data available.
|
``m`` zero or one ``0`` Whether there is more chunked data available.
|
||||||
``N`` bitmask ``0`` Usage hints from the client to the terminal about the intended use of
|
``N`` bitmask ``0`` Usage hints from the client to the terminal about the intended use of
|
||||||
the image. Only one hint is currently defined, the ``1`` bit which means
|
the image.
|
||||||
*transient*. The terminal is free to assume that an image with this hint
|
|
||||||
will be used for only a short time, and so may, for example, evict its
|
|
||||||
data before other images when the image is soft deleted, has no visible
|
|
||||||
placements and the terminal is under storage pressure, or skip writing
|
|
||||||
its data to disk. The terminal is also free to ignore the hint. If an
|
|
||||||
animation frame with the *transient* hint is composited onto another
|
|
||||||
frame, and any of the involved frames have the hint, the resulting
|
|
||||||
composited frame also has the hint.
|
|
||||||
|
|
||||||
**Keys for image display**
|
**Keys for image display**
|
||||||
-----------------------------------------------------------
|
-----------------------------------------------------------
|
||||||
``x`` Positive integer ``0`` The left edge (in pixels) of the image area to display
|
``x`` Positive integer ``0`` The left edge (in pixels) of the image area to display
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue