mirror of
https://github.com/alacritty/alacritty.git
synced 2024-11-03 04:34:21 -05:00
1df7dc5171
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.
31 lines
868 B
Groff
31 lines
868 B
Groff
.TH ALACRITTY-MSG "1" "October 2021" "alacritty 0.10.0-dev" "User Commands"
|
|
.SH NAME
|
|
alacritty-msg \- Send messages to Alacritty
|
|
.SH "SYNOPSIS"
|
|
alacritty msg [OPTIONS] [MESSAGES]
|
|
.SH DESCRIPTION
|
|
This command communicates with running Alacritty instances through a socket,
|
|
making it possible to control Alacritty without directly accessing it.
|
|
.SH "OPTIONS"
|
|
.TP
|
|
\fB\-s\fR, \fB\-\-socket\fR <socket>
|
|
Path for IPC socket creation
|
|
.SH "MESSAGES"
|
|
.TP
|
|
\fBcreate-window\fR
|
|
Create a new window in the same Alacritty process
|
|
.SH "SEE ALSO"
|
|
See the alacritty github repository at https://github.com/alacritty/alacritty for the full documentation.
|
|
.SH "BUGS"
|
|
Found a bug? Please report it at https://github.com/alacritty/alacritty/issues.
|
|
.SH "MAINTAINERS"
|
|
.sp
|
|
.RS 4
|
|
.ie n \{\
|
|
\h'-04'\(bu\h'+03'\c
|
|
.\}
|
|
.el \{\
|
|
.sp -1
|
|
.IP \(bu 2.3
|
|
.\}
|
|
Christian Duerr <contact@christianduerr.com>
|