aboutsummaryrefslogtreecommitdiff
path: root/alacritty_terminal/src
diff options
context:
space:
mode:
authorChristian Duerr <contact@christianduerr.com>2024-09-22 00:10:48 +0200
committerChristian Duerr <contact@christianduerr.com>2024-10-02 21:38:07 +0200
commit51089cfeed1adfd741d8dcbe6c9cb9376f88a576 (patch)
treedaf97f64f3236b99b8593f62f2d2864882ac88b0 /alacritty_terminal/src
parentc899208e15c8987480912794d66358ea2581fc39 (diff)
downloadalacritty-51089cfeed1adfd741d8dcbe6c9cb9376f88a576.tar.gz
alacritty-51089cfeed1adfd741d8dcbe6c9cb9376f88a576.zip
Move root config fields to `[general]` section
Some users struggle with TOML, since root options must always be at the top of the file, since they're otherwise associated with the last table. To avoid misunderstandings, all root-level fields have been removed. A new `general` section was added to allow housing configuration options that do not fit into any more specific groups. Closes #7906.
Diffstat (limited to 'alacritty_terminal/src')
-rw-r--r--alacritty_terminal/src/tty/mod.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/alacritty_terminal/src/tty/mod.rs b/alacritty_terminal/src/tty/mod.rs
index 55d263ca..2bcc5da9 100644
--- a/alacritty_terminal/src/tty/mod.rs
+++ b/alacritty_terminal/src/tty/mod.rs
@@ -50,9 +50,10 @@ impl Shell {
}
}
-/// This trait defines the behaviour needed to read and/or write to a stream.
-/// It defines an abstraction over polling's interface in order to allow either one
-/// read/write object or a separate read and write object.
+/// Stream read and/or write behavior.
+///
+/// This defines an abstraction over polling's interface in order to allow either
+/// one read/write object or a separate read and write object.
pub trait EventedReadWrite {
type Reader: io::Read;
type Writer: io::Write;