summaryrefslogtreecommitdiffstats
path: root/rsnix/src/tty.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rsnix/src/tty.rs')
-rw-r--r--rsnix/src/tty.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/rsnix/src/tty.rs b/rsnix/src/tty.rs
index b6b6cc8..81a7a24 100644
--- a/rsnix/src/tty.rs
+++ b/rsnix/src/tty.rs
@@ -20,6 +20,7 @@ use crate::{gop, serial};
20pub const LINE_BUF_SIZE: usize = 256; 20pub const LINE_BUF_SIZE: usize = 256;
21 21
22/// Result of one canonical line-input session. 22/// Result of one canonical line-input session.
23#[allow(clippy::large_enum_variant)] // stack buffer by design (no heap churn)
23pub enum LineInput { 24pub enum LineInput {
24 Line(strbuf::String<LINE_BUF_SIZE>), 25 Line(strbuf::String<LINE_BUF_SIZE>),
25 Interrupted, // ^C 26 Interrupted, // ^C