summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCanop <cano.petrole@gmail.com>2021-03-18 15:45:43 +0100
committerCanop <cano.petrole@gmail.com>2021-03-18 15:45:43 +0100
commit42a03934538bb78397b7e323c7fe5fc6f44fffef (patch)
tree52472b1fb894cbeab7092bf1a3068338eb5ccd4a
parent914e6d99fdf6aacdb15090b05cb3784fa8473460 (diff)
Fix crash on `:input_del_word_left`
Fix #361
-rw-r--r--CHANGELOG.md1
-rw-r--r--Cargo.lock4
-rw-r--r--Cargo.toml2
-rw-r--r--src/command/panel_input.rs2
4 files changed, 5 insertions, 4 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0183b63..ce26beb 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,4 +1,5 @@
### next
+-
- remove diacritics and normalize unicode from input on fuzzy search (an unnormalized string with unwanted diacritics most often happen when you paste a string in the input)
<a name="v1.2.8"></a>
diff --git a/Cargo.lock b/Cargo.lock
index e870796..dc65725 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1616,9 +1616,9 @@ dependencies = [
[[package]]
name = "termimad"
-version = "0.10.0"
+version = "0.10.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e984b607674dbb8ebb48c378fd62a64c8d39a0e251227c065e4864b5ce2e6526"
+checksum = "7d26fdb7dae513c61d25496c42fc586511419e41696ce019ef4cb672e6f70e8f"
dependencies = [
"crossbeam",
"crossterm",
diff --git a/Cargo.toml b/Cargo.toml
index 70239c3..3fbbac6 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -56,7 +56,7 @@ splitty = "0.1"
strict = "0.1.4"
syntect = "4.5"
tempfile = "3.2"
-termimad = { version = "0.10.0" }
+termimad = { version = "0.10.1" }
terminal-clipboard = { version = "0.2.1", optional = true }
toml = "0.5"
umask = "1.0"
diff --git a/src/command/panel_input.rs b/src/command/panel_input.rs
index 8fe17aa..f4fe8a1 100644
--- a/src/command/panel_input.rs
+++ b/src/command/panel_input.rs
@@ -212,7 +212,7 @@ impl PanelInput {
let completions = Completions::for_input(completable_parts, con, sel);
let added = match completions {
Completions::None => {
- debug!("nothing to complete!"); // where to tell this ? input field or status ?
+ debug!("nothing to complete!");
self.tab_cycle_count = 0;
self.input_before_cycle = None;
None