1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-11-18 13:55:23 -05:00
alacritty/extra
Christian Duerr 1df7dc5171
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.
2021-10-23 07:16:47 +00:00
..
completions Add multi-window support 2021-10-23 07:16:47 +00:00
linux Remove optional releases section from appdata.xml 2021-07-18 01:33:47 +00:00
logo Fix embedded _NET_WM_ICON on X11 2020-12-20 07:57:03 +00:00
osx/Alacritty.app/Contents Bump development version to 0.10.0-dev 2021-07-18 03:03:41 +00:00
alacritty-msg.man Add multi-window support 2021-10-23 07:16:47 +00:00
alacritty.info Remove blink capability from terminfo 2021-06-26 13:10:20 +00:00
alacritty.man Add multi-window support 2021-10-23 07:16:47 +00:00
windows Invert windows asset symlinks 2021-07-18 19:29:38 +00:00