diff options
| author | Jonas Maier <jonas@x77.dev> | 2026-06-01 21:17:23 +0200 |
|---|---|---|
| committer | Jonas Maier <jonas@x77.dev> | 2026-06-01 21:17:23 +0200 |
| commit | c52169f535f89c0300ec06e13ddcaa7e0f459a0b (patch) | |
| tree | 0bc1e2db8779cab539cc572a322981e4efb07c38 /src/ansi | |
| parent | 22f8e4a5609e63c2bfc15887769fa2d8d6702f49 (diff) | |
| download | pish-c52169f535f89c0300ec06e13ddcaa7e0f459a0b.tar.gz | |
clippy
Diffstat (limited to 'src/ansi')
| -rw-r--r-- | src/ansi/mod.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ansi/mod.rs b/src/ansi/mod.rs index 4265b45..95966da 100644 --- a/src/ansi/mod.rs +++ b/src/ansi/mod.rs @@ -119,6 +119,12 @@ impl TerminalInput { } } +impl Default for TerminalInput { + fn default() -> Self { + Self::new() + } +} + // expecting a string of the form `\x1b[n;mR` fn try_parse_cursor_position_message(mut msg: &[u8]) -> Option<CursorPos> { if !msg.starts_with(b"\x1b[") || !msg.ends_with(b"R") { |
