Repository: espanso/espanso (language: rust)

Issue:
add quotes (apostrophe) "\u0027", double-quotes "\u0022", Form Feed "\u000c", and "\t"  to `word_separators:`
Hi! @smeech requested to add these:
- [x] quotes (apostrophe) "\u0027",
- [x] double-quotes "\u0022",
- [x] Form Feed "\u000c", and
- [x] "\t" 

to `espanso-config/src/config/resolve.rs`


Discussion / hints:

Fix patch:
diff --git a/espanso-config/src/config/resolve.rs b/espanso-config/src/config/resolve.rs
index 3ef2a78e..5d68560a 100644
--- a/espanso-config/src/config/resolve.rs
+++ b/espanso-config/src/config/resolve.rs
@@ -238,9 +238,16 @@ impl Config for ResolvedConfig {
         ".".to_string(),
         "?".to_string(),
         "!".to_string(),
+        ")".to_string(),
+        "}".to_string(),
+        "]".to_string(),
+        ">".to_string(),
+        "\'".to_string(),
+        "\"".to_string(),
         "\r".to_string(),
+        "\t".to_string(),
         "\n".to_string(),
-        (22u8 as char).to_string(),
+        "\x0c".to_string(), // Form Feed
       ]
     })
   }
diff --git a/espanso/src/cli/log.rs b/espanso/src/cli/log.rs
index 6cca6e81..7b049e52 100644
--- a/espanso/src/cli/log.rs
+++ b/espanso/src/cli/log.rs
@@ -43,7 +43,7 @@ fn log_main(args: CliModuleArgs) -> i32 {
   let log_file = File::open(log_file);
   if let Ok(log_file) = log_file {
     let reader = BufReader::new(log_file);
-    for line in reader.lines().flatten() {
+    for line in reader.lines().map_while(Result::ok) {
       println!("{line}");
     }
   } else {


Test patch: