From c52169f535f89c0300ec06e13ddcaa7e0f459a0b Mon Sep 17 00:00:00 2001 From: Jonas Maier Date: Mon, 1 Jun 2026 21:17:23 +0200 Subject: clippy --- src/ansi/mod.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/ansi/mod.rs') 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 { if !msg.starts_with(b"\x1b[") || !msg.ends_with(b"R") { -- cgit v1.2.3