From 1df7dc5171abfe1eab3e95be964f61c5876198f1 Mon Sep 17 00:00:00 2001 From: Christian Duerr Date: Sat, 23 Oct 2021 07:16:47 +0000 Subject: Add multi-window support Previously Alacritty would always initialize only a single terminal emulator window feeding into the winit event loop, however some platforms like macOS expect all windows to be spawned by the same process and this "daemon-mode" can also come with the advantage of increased memory efficiency. The event loop has been restructured to handle all window-specific events only by the event processing context with the associated window id. This makes it possible to add new terminal windows at any time using the WindowContext::new function call. Some preliminary tests have shown that for empty terminals, this reduces the cost of additional terminal emulators from ~100M to ~6M. However at this point the robustness of the daemon against issues with individual terminals has not been refined, making the reliability of this system questionable. New windows can be created either by using the new `CreateNewWindow` action, or with the `alacritty msg create-window` subcommand. The subcommand sends a message to an IPC socket which Alacritty listens on, its location can be found in the `ALACRITTY_SOCKET` environment variable. Fixes #607. --- docs/features.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs') diff --git a/docs/features.md b/docs/features.md index fd9a9ad2..a97c143d 100644 --- a/docs/features.md +++ b/docs/features.md @@ -78,3 +78,9 @@ change in mouse cursor shape, you're required to hold Shift to bypass that. [configuration file]: ../alacritty.yml + +## Multi-Window + +Alacritty supports running multiple terminal emulators from the same Alacritty +instance. New windows can be created either by using the `CreateNewWindow` +keybinding action, or by executing the `alacritty msg create-window` subcommand. -- cgit From f4bdf5fb36fdf3b329be8253da39050abe7238a5 Mon Sep 17 00:00:00 2001 From: Kirill Chibisov Date: Wed, 16 Mar 2022 19:27:55 +0300 Subject: Add colored underline support This commit adds support for colored underline and refines the dynamic extra storage. The extra storage now is using `Arc` making cloning it way faster compared to `Box` approach which scales really well when it comes to cloning in `Term::write_at_cursor`, since cloning `Arc` is constant time. Fixes #4142. --- docs/escape_support.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/escape_support.md b/docs/escape_support.md index 4cb6c6f2..6a1047a9 100644 --- a/docs/escape_support.md +++ b/docs/escape_support.md @@ -65,7 +65,7 @@ brevity. | `CSI l` | PARTIAL | See `CSI h` for supported modes | | `CSI ? l` | PARTIAL | See `CSI ? h` for supported modes | | `CSI M` | IMPLEMENTED | | -| `CSI m` | PARTIAL | Only singular straight underlines are supported | +| `CSI m` | IMPLEMENTED | | | `CSI n` | IMPLEMENTED | | | `CSI P` | IMPLEMENTED | | | `CSI SP q` | IMPLEMENTED | | -- cgit From d9c6c8d53e95be2fe40162a1fcfe21b93fa0444b Mon Sep 17 00:00:00 2001 From: Ally Tiritoglu Date: Fri, 10 Jun 2022 09:28:48 -0700 Subject: Update SGR escape sequence support --- docs/escape_support.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/escape_support.md b/docs/escape_support.md index 6a1047a9..f95c1e2c 100644 --- a/docs/escape_support.md +++ b/docs/escape_support.md @@ -65,7 +65,10 @@ brevity. | `CSI l` | PARTIAL | See `CSI h` for supported modes | | `CSI ? l` | PARTIAL | See `CSI ? h` for supported modes | | `CSI M` | IMPLEMENTED | | -| `CSI m` | IMPLEMENTED | | +| `CSI m` | IMPLEMENTED | Supported parameters: | +| | | `0`-`9`, `21`-`25`, `27`-`49`, `58`, `59` | +| | | `90`-`97`, `100`-`107` | +| | REJECTED | `11`-`19`, `51`-`55` | | `CSI n` | IMPLEMENTED | | | `CSI P` | IMPLEMENTED | | | `CSI SP q` | IMPLEMENTED | | -- cgit From 694a52bcffeffdc9e163818c3b2ac5c39e26f1ef Mon Sep 17 00:00:00 2001 From: Kirill Chibisov Date: Sun, 10 Jul 2022 20:11:28 +0300 Subject: Add support for hyperlink escape sequence This commit adds support for hyperlink escape sequence `OSC 8 ; params ; URI ST`. The configuration option responsible for those is `hints.enabled.hyperlinks`. Fixes #922. --- docs/escape_support.md | 1 + 1 file changed, 1 insertion(+) (limited to 'docs') diff --git a/docs/escape_support.md b/docs/escape_support.md index f95c1e2c..498aed5e 100644 --- a/docs/escape_support.md +++ b/docs/escape_support.md @@ -90,6 +90,7 @@ brevity. | `OSC 1` | REJECTED | Icon names are not supported | | `OSC 2` | IMPLEMENTED | | | `OSC 4` | IMPLEMENTED | | +| `OSC 8` | IMPLEMENTED | | | `OSC 10` | IMPLEMENTED | | | `OSC 11` | IMPLEMENTED | | | `OSC 12` | IMPLEMENTED | | -- cgit