Skip to content

Commit 5c0b7f8

Browse files
authored
Merge pull request #256 from kyoheiu/develop
v2.10.2
2 parents e0c6584 + 19c3247 commit 5c0b7f8

File tree

6 files changed

+14
-36
lines changed

6 files changed

+14
-36
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44

55
## Unreleased
66

7+
## v2.10.2 (2023-11-26)
8+
9+
### Fixed
10+
- Added a filter to every user input to reject `Keyup` events. This is required on the windows platform.
11+
712
## v2.10.1 (2023-11-02)
813

914
### Fixed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "felix"
3-
version = "2.10.1"
3+
version = "2.10.2"
44
authors = ["Kyohei Uto <im@kyoheiu.dev>"]
55
edition = "2021"
66
description = "tui file manager with vim-like key mapping"

README.md

Lines changed: 6 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@ For more detailed document, visit https://kyoheiu.dev/felix.
2525

2626
## New release
2727

28+
## v2.10.2 (2023-11-26)
29+
30+
### Fixed
31+
- Added a filter to every user input to reject `Keyup` events. This is required on the windows platform.
32+
33+
2834
## v2.10.1 (2023-11-02)
2935

3036
### Fixed
@@ -37,35 +43,6 @@ For more detailed document, visit https://kyoheiu.dev/felix.
3743
- Add `has_bat` field to `State`.
3844
- Add `FxError::InvalidPath` to handle invalid unicode in file path.
3945

40-
## v2.9.0 (2023-10-22)
41-
42-
### Added
43-
- Change color of untracked/changed files or directories containing such files. Default color is Red(1). You can change it in the config file.
44-
- Add `git2`.
45-
46-
### Fixed
47-
- Explicitly ignore the key release events for Windows.
48-
49-
## v2.8.1 (2023-08-25)
50-
51-
### Fixed
52-
- Fix help text.
53-
54-
## v2.8.0 (2023-08-25)
55-
56-
### Added
57-
- `i{file name}<CR>` to create new file, and `I{dir name}<CR>` to create new directory.
58-
- 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.
59-
- For this, `State` now has a new field `has_zoxide`, which is checked at startup.
60-
61-
### Changed
62-
- config's `color` is now optional: By this, all config fields are optional.
63-
- Remove warning message when you launch felix without the config file.
64-
- When opening file by default editor is failed, felix displays more accurate warning: `$EDITOR may not be set, or config file may be invalid.`.
65-
66-
### Removed
67-
- 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.
68-
6946
For more details, see `CHANGELOG.md`.
7047

7148
<a id="status"></a>

screenshots/screenshot.png

-2.85 MB
Loading

src/config.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -117,11 +117,7 @@ impl Default for Config {
117117

118118
fn read_config(p: &Path) -> Result<Config, FxError> {
119119
let s = read_to_string(p)?;
120-
read_config_from_str(&s)
121-
}
122-
123-
fn read_config_from_str(s: &str) -> Result<Config, FxError> {
124-
let deserialized: Config = serde_yaml::from_str(s)?;
120+
let deserialized: Config = serde_yaml::from_str(&s)?;
125121
Ok(deserialized)
126122
}
127123

0 commit comments

Comments
 (0)