mirror of
https://github.com/wez/wezterm.git
synced 2024-11-26 16:34:23 +03:00
74da631430
The server-side ownership of the palette is a stumbling block for many users, so let's fix it. This commit allows the client to pass its configured palette to the server when it connects, and when the config is changed. That palette takes precedence over the palette from the server config. However, if the remote application uses any escape sequences that redefine the color palette, the color palette that was active at that point in time is forked and use as the basis, and will remain the active palette until the palette is reset via escape sequences. refs: https://github.com/wez/wezterm/issues/2686 refs: https://github.com/wez/wezterm/issues/3397 |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
LICENSE.md | ||
README.md |
wezterm-term
This crate provides the core of the virtual terminal emulator implementation used by wezterm. The home for this crate is in the wezterm repo and development is tracked at https://github.com/wez/wezterm/.
It is full featured, providing terminal escape sequence parsing, keyboard and mouse input encoding, a model for the screen cells including scrollback, sixel and iTerm2 image support, OSC 8 Hyperlinks and a wide range of terminal cell attributes.
This crate does not provide any kind of gui, nor does it directly
manage a PTY; you provide a std::io::Write
implementation that
could connect to a PTY, and supply bytes to the model via the
advance_bytes
method.
The entrypoint to the crate is the Terminal struct.
License: MIT