From ce92472af1ef23a603656f11c460c634255afa4a Mon Sep 17 00:00:00 2001
From: Fabian Boehm <FHomborg@gmail.com>
Date: Wed, 3 Apr 2024 20:14:17 +0200
Subject: [PATCH] input: Comment out flogs

These are *extremely* chatty.

If they are needed we should add them to a subcategory like `input` or
`reader-input` so you can easily disable them.
---
 src/input.rs | 13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)

diff --git a/src/input.rs b/src/input.rs
index 331154173..6236656ce 100644
--- a/src/input.rs
+++ b/src/input.rs
@@ -674,19 +674,14 @@ impl EventQueuePeeker<'_> {
             && actual_seq.last() == Some(&'u');
         if !actual_seq.is_empty() && !is_csi_u {
             let seq_char = actual_seq[self.subidx];
-            FLOG!(
-                reader,
-                "match mapping's",
-                key,
-                format!("against actual char {}", u32::from(seq_char)),
-            );
             if Key::from_single_char(seq_char) == key {
                 self.subidx += 1;
                 if self.subidx == actual_seq.len() {
                     self.idx += 1;
                     self.subidx = 0;
                 }
-                FLOG!(reader, "matched legacy sequence");
+                // These FLOGs are extremely chatty because this is run a bunch of times.
+                // FLOG!(reader, "matched legacy sequence for", key);
                 return true;
             }
             if key.modifiers.alt
@@ -697,7 +692,7 @@ impl EventQueuePeeker<'_> {
                 if self.subidx + 1 == actual_seq.len() {
                     self.idx += 1;
                     self.subidx = 0;
-                    FLOG!(reader, "matched escape prefix of legacy alt sequence");
+                    // FLOG!(reader, "matched escape prefix of legacy alt sequence for", key);
                     return self.next_is_char(Key::from_raw(key.codepoint), true);
                 } else if actual_seq
                     .get(self.subidx + 1)
@@ -710,7 +705,7 @@ impl EventQueuePeeker<'_> {
                         self.idx += 1;
                         self.subidx = 0;
                     }
-                    FLOG!(reader, "matched legacy alt sequence");
+                    // FLOG!(reader, "matched legacy alt sequence for", key);
                     return true;
                 }
             }