New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for graphics in the terminal #4763
base: master
Are you sure you want to change the base?
Commits on Mar 11, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 08ceb31 - Browse repository at this point
Copy the full SHA 08ceb31View commit details
Commits on Apr 1, 2021
-
Configuration menu - View commit details
-
Copy full SHA for b4adf34 - Browse repository at this point
Copy the full SHA b4adf34View commit details -
Configuration menu - View commit details
-
Copy full SHA for 50d717f - Browse repository at this point
Copy the full SHA 50d717fView commit details
Commits on Apr 2, 2021
-
Configuration menu - View commit details
-
Copy full SHA for c6359f9 - Browse repository at this point
Copy the full SHA c6359f9View commit details
Commits on Apr 3, 2021
-
Configuration menu - View commit details
-
Copy full SHA for bfd0f81 - Browse repository at this point
Copy the full SHA bfd0f81View commit details
Commits on Apr 7, 2021
-
Configuration menu - View commit details
-
Copy full SHA for fd0218f - Browse repository at this point
Copy the full SHA fd0218fView commit details
Commits on Apr 18, 2021
-
Configuration menu - View commit details
-
Copy full SHA for e5e9c82 - Browse repository at this point
Copy the full SHA e5e9c82View commit details
Commits on May 29, 2021
-
Configuration menu - View commit details
-
Copy full SHA for b6b7840 - Browse repository at this point
Copy the full SHA b6b7840View commit details
Commits on May 31, 2021
-
Don’t erase text behind a sixel image; the image might be transparent
We still add a reference to the graphic in the first cell of every line under the image, but we don’t erase any of the text in any of the cells.
Configuration menu - View commit details
-
Copy full SHA for 9723e3f - Browse repository at this point
Copy the full SHA 9723e3fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5972714 - Browse repository at this point
Copy the full SHA 5972714View commit details -
Configuration menu - View commit details
-
Copy full SHA for 89a9fc6 - Browse repository at this point
Copy the full SHA 89a9fc6View commit details -
Configuration menu - View commit details
-
Copy full SHA for f4bdc6f - Browse repository at this point
Copy the full SHA f4bdc6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3caa09e - Browse repository at this point
Copy the full SHA 3caa09eView commit details
Commits on Jun 11, 2021
-
support DECSET/DECRST (CSI ? Pm h) to change where the cursor ends up
after printing a sixel image. The default is for the cursor to be moved to the first column of the line after the image. When we receive CSI ? 8452 h, we will instead leave the cursor on the last line of the image, on the next column past the end of the image.
Configuration menu - View commit details
-
Copy full SHA for ae7aa4b - Browse repository at this point
Copy the full SHA ae7aa4bView commit details
Commits on Jun 20, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 699a7a9 - Browse repository at this point
Copy the full SHA 699a7a9View commit details
Commits on Jun 21, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 573dedd - Browse repository at this point
Copy the full SHA 573deddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d360e4 - Browse repository at this point
Copy the full SHA 9d360e4View commit details
Commits on Sep 23, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 91b8566 - Browse repository at this point
Copy the full SHA 91b8566View commit details
Commits on Sep 24, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 18653cf - Browse repository at this point
Copy the full SHA 18653cfView commit details -
Interprets mode 80 as Sixel Display Mode.
This is reverse of the *sixel scrolling* option, which should match the actual behaviour of DEC terminals. For reference: alacritty#4763 (comment)
Configuration menu - View commit details
-
Copy full SHA for ebf41d5 - Browse repository at this point
Copy the full SHA ebf41d5View commit details
Commits on Jul 12, 2022
-
The merge requires multiple changes in order to be compatible with the last version of Alacritty: - Textures are now always deleted on Drop. This is required because Alacritty now supports multiple windows in the same process, so we can't assume that all resources are freed when a single window is closed. This is the same approach used for the atlas textures. - The graphics feature is only compatible with OpenGL 3.3. Alacritty now supports GLES 2.2, but in order to provide a proper support for it we need a different approach, specific for that version. - Cell dimensions in pixels are re-added to the alacritty_terminal crate.
Configuration menu - View commit details
-
Copy full SHA for a919ac7 - Browse repository at this point
Copy the full SHA a919ac7View commit details -
Fill all cells under a graphic with the template.
With the template we can create hyperlinks attached to the graphic. To avoid reflow issues when a row is shrank, wrapped rows that only contain graphic cells are discarded. With this approach we loss some info, like the hyperlink, but the image is always properly positioned in the grid.
Configuration menu - View commit details
-
Copy full SHA for 48b2610 - Browse repository at this point
Copy the full SHA 48b2610View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4469599 - Browse repository at this point
Copy the full SHA 4469599View commit details -
Allow replacing part of a graphic with text.
When text is added to a cell with a reference to a graphic, an operation is sent to the OpenGL thread to replace a subregion of the cell with a transparent area. If the OpenGL driver supports the GL_ARB_clear_texture extension, the region is updated with glClearTexSubImage. If the extension is not available, the texture is updated with glTexSubImage2D.
Configuration menu - View commit details
-
Copy full SHA for b737176 - Browse repository at this point
Copy the full SHA b737176View commit details -
Highlight graphics to show hints.
Similar to the underline line rendered when the cursor is over an hyperlink, for graphics we now render a border around the graphic.
Configuration menu - View commit details
-
Copy full SHA for f796ba2 - Browse repository at this point
Copy the full SHA f796ba2View commit details
Commits on Jul 13, 2022
-
If a graphic is added over another one, the implementation now checks if new graphic has transparent pixels in every cell. If so, the graphic is appended to the cell, instead of replacing the previous one. SmallVec is used to prevent heap allocation when the cell only contains a single graphic. This should be the most common scenario. The GPU will store up to 100 textures. If another texture is added when there are 100, the oldest one is deleted.
Configuration menu - View commit details
-
Copy full SHA for dae81e0 - Browse repository at this point
Copy the full SHA dae81e0View commit details -
Optimize graphics replacement.
A simple optimization for inserting graphics is to detect when a new graphic is replacing completely an existing one. If both graphics have the same size, and the new one is opaque, we can assume that the previous graphic will not be displayed anymore, so it is not considered when update the graphics list in a single cell. This commit also adds serde implementation for GraphicsCell. This was used to debug the new logic.
Configuration menu - View commit details
-
Copy full SHA for 111986f - Browse repository at this point
Copy the full SHA 111986fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 06b4c3c - Browse repository at this point
Copy the full SHA 06b4c3cView commit details
Commits on Jul 14, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 1c6a770 - Browse repository at this point
Copy the full SHA 1c6a770View commit details
Commits on Jul 15, 2022
-
Configuration menu - View commit details
-
Copy full SHA for e521d6e - Browse repository at this point
Copy the full SHA e521d6eView commit details -
Changes in sixel module to be compatible with oldstable.
- Reimplement abs_diff(). - Use positional arguments to format the error message in assert_color!().
Configuration menu - View commit details
-
Copy full SHA for bf743df - Browse repository at this point
Copy the full SHA bf743dfView commit details -
Initialize cell dimensions when create a Graphics instance.
This fixes a bug that crashes the terminal when a graphic is added before resizing the window.
Configuration menu - View commit details
-
Copy full SHA for 8d2016b - Browse repository at this point
Copy the full SHA 8d2016bView commit details
Commits on Aug 4, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 2301bf1 - Browse repository at this point
Copy the full SHA 2301bf1View commit details
Commits on Oct 4, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 03cf630 - Browse repository at this point
Copy the full SHA 03cf630View commit details
Commits on Oct 16, 2022
-
Merge pull request #7 from kumattau/graphics-gles2
Support GLES2 Renderer in sixel
Configuration menu - View commit details
-
Copy full SHA for 83aceed - Browse repository at this point
Copy the full SHA 83aceedView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2eb9812 - Browse repository at this point
Copy the full SHA 2eb9812View commit details -
The limit per grid is increased to `1000`, and a new limit per cell is added, set to `20`.
Configuration menu - View commit details
-
Copy full SHA for 396002c - Browse repository at this point
Copy the full SHA 396002cView commit details -
Configuration menu - View commit details
-
Copy full SHA for a9335fc - Browse repository at this point
Copy the full SHA a9335fcView commit details
Commits on Oct 20, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 615e72e - Browse repository at this point
Copy the full SHA 615e72eView commit details -
Merge pull request #8 from kumattau/graphics-xtsmgraphics
CSI XTSMGRAPHICS Pi=2, Pa=1 should return dimensions that fit in text area
Configuration menu - View commit details
-
Copy full SHA for 410b36e - Browse repository at this point
Copy the full SHA 410b36eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 850fd41 - Browse repository at this point
Copy the full SHA 850fd41View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f3a8cf - Browse repository at this point
Copy the full SHA 2f3a8cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for ed6e3fa - Browse repository at this point
Copy the full SHA ed6e3faView commit details -
Configuration menu - View commit details
-
Copy full SHA for 48a388a - Browse repository at this point
Copy the full SHA 48a388aView commit details
Commits on Dec 2, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 2772e72 - Browse repository at this point
Copy the full SHA 2772e72View commit details -
Configuration menu - View commit details
-
Copy full SHA for fc97c07 - Browse repository at this point
Copy the full SHA fc97c07View commit details
Commits on Mar 1, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 713c541 - Browse repository at this point
Copy the full SHA 713c541View commit details
Commits on Feb 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5e75fc9 - Browse repository at this point
Copy the full SHA 5e75fc9View commit details -
Configuration menu - View commit details
-
Copy full SHA for e1b78c1 - Browse repository at this point
Copy the full SHA e1b78c1View commit details
Commits on Feb 12, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6bd9c71 - Browse repository at this point
Copy the full SHA 6bd9c71View commit details
Commits on Mar 4, 2024
-
Include Sixel support in Device Attributes response.
The response for `\e[c` (Send Device Attributes) now returns level 2 with the Sixel extension. The other extensions are 6 (Selectively Erasable Characters) and 22 (Color Text). The values are documented in page 04-19 of DEC-STD-070.
Configuration menu - View commit details
-
Copy full SHA for 84c0f29 - Browse repository at this point
Copy the full SHA 84c0f29View commit details -
Configuration menu - View commit details
-
Copy full SHA for 21c9138 - Browse repository at this point
Copy the full SHA 21c9138View commit details
Commits on Mar 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for ff0f64f - Browse repository at this point
Copy the full SHA ff0f64fView commit details
Commits on May 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 484e357 - Browse repository at this point
Copy the full SHA 484e357View commit details -
Configuration menu - View commit details
-
Copy full SHA for 39c7b40 - Browse repository at this point
Copy the full SHA 39c7b40View commit details