summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKyohei Uto <im@kyoheiu.dev>2023-11-26 05:02:04 +0900
committerGitHub <noreply@github.com>2023-11-26 05:02:04 +0900
commit5c0b7f832bd3afc978a3ef974122538905f7e33d (patch)
tree66a816392f11469b2f70129bd5bb19974aeb3bbe
parente0c65849abe1653cc18120370740d37891dbc33c (diff)
parent19c32473362c7f10ed129f0827c3d7f32b79e1f6 (diff)
Merge pull request #256 from kyoheiu/developv2.10.2
v2.10.2
-rw-r--r--CHANGELOG.md5
-rw-r--r--Cargo.lock2
-rw-r--r--Cargo.toml2
-rw-r--r--README.md35
-rw-r--r--screenshots/screenshot.pngbin3141755 -> 154736 bytes
-rw-r--r--src/config.rs6
6 files changed, 14 insertions, 36 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 95ce6ae..0febc0a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,11 @@
## Unreleased
+## v2.10.2 (2023-11-26)
+
+### Fixed
+- Added a filter to every user input to reject `Keyup` events. This is required on the windows platform.
+
## v2.10.1 (2023-11-02)
### Fixed
diff --git a/Cargo.lock b/Cargo.lock
index 4bbd494..85a9308 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -330,7 +330,7 @@ checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5"
[[package]]
name = "felix"
-version = "2.10.1"
+version = "2.10.2"
dependencies = [
"bwrap",
"chrono",
diff --git a/Cargo.toml b/Cargo.toml
index 4f9801c..a85d504 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "felix"
-version = "2.10.1"
+version = "2.10.2"
authors = ["Kyohei Uto <im@kyoheiu.dev>"]
edition = "2021"
description = "tui file manager with vim-like key mapping"
diff --git a/README.md b/README.md
index 6b296d1..e9899e3 100644
--- a/README.md
+++ b/README.md
@@ -25,6 +25,12 @@ For more detailed document, visit https://kyoheiu.dev/felix.
## New release
+## v2.10.2 (2023-11-26)
+
+### Fixed
+- Added a filter to every user input to reject `Keyup` events. This is required on the windows platform.
+
+
## v2.10.1 (2023-11-02)
### Fixed
@@ -37,35 +43,6 @@ For more detailed document, visit https://kyoheiu.dev/felix.
- Add `has_bat` field to `State`.
- Add `FxError::InvalidPath` to handle invalid unicode in file path.
-## v2.9.0 (2023-10-22)
-
-### Added
-- Change color of untracked/changed files or directories containing such files. Default color is Red(1). You can change it in the config file.
- - Add `git2`.
-
-### Fixed
-- Explicitly ignore the key release events for Windows.
-
-## v2.8.1 (2023-08-25)
-
-### Fixed
-- Fix help text.
-
-## v2.8.0 (2023-08-25)
-
-### Added
-- `i{file name}<CR>` to create new file, and `I{dir name}<CR>` to create new directory.
-- If zoxide is installed, whenever changing directory inside felix, `zoxide add` will be executed to add the directory or increment its rank in the zoxide database.
- - For this, `State` now has a new field `has_zoxide`, which is checked at startup.
-
-### Changed
-- config's `color` is now optional: By this, all config fields are optional.
- - Remove warning message when you launch felix without the config file.
-- When opening file by default editor is failed, felix displays more accurate warning: `$EDITOR may not be set, or config file may be invalid.`.
-
-### Removed
-- Remove `syntect` and syntax highlighting in the preview area. This will improve build and start-up times, and resolve the handling of wide chars such as CJK.
-
For more details, see `CHANGELOG.md`.
<a id="status"></a>
diff --git a/screenshots/screenshot.png b/screenshots/screenshot.png
index e90dd63..a15bee8 100644
--- a/screenshots/screenshot.png
+++ b/screenshots/screenshot.png
Binary files differ
diff --git a/src/config.rs b/src/config.rs
index 1335b3e..de8e6d7 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -117,11 +117,7 @@ impl Default for Config {
fn read_config(p: &Path) -> Result<Config, FxError> {
let s = read_to_string(p)?;
- read_config_from_str(&s)
-}
-
-fn read_config_from_str(s: &str) -> Result<Config, FxError> {
- let deserialized: Config = serde_yaml::from_str(s)?;
+ let deserialized: Config = serde_yaml::from_str(&s)?;
Ok(deserialized)
}