diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index a38de0f5..d5d1a7fe 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -6,7 +6,7 @@ ## Type of Change - [ ] New feature - [ ] Bug fix -- [ ] Documentation Update (Due to be added!) +- [ ] Documentation Update - [ ] Refactoring - [ ] Hotfix - [ ] Security patch diff --git a/README.md b/README.md index 1a9295b5..43b8747d 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,9 @@ Open your terminal and paste this command: curl -fsSL https://christitus.com/linux | sh ``` +## 🎓 Documentation +### [LinUtil Official Documentation](https://christitustech.github.io/linutil/) + ## 💖 Support - To morally and mentally support the project, make sure to leave a ⭐️! diff --git a/build/x86_64-unknown-linux-musl/release/linutil b/build/x86_64-unknown-linux-musl/release/linutil index c5fc8e9f..b7f0611e 100755 Binary files a/build/x86_64-unknown-linux-musl/release/linutil and b/build/x86_64-unknown-linux-musl/release/linutil differ diff --git a/src/list.rs b/src/list.rs index 92a81a8e..87594afb 100644 --- a/src/list.rs +++ b/src/list.rs @@ -281,7 +281,14 @@ impl CustomList { self.toggle_preview_window(state); None } - KeyCode::Enter => self.handle_enter(), + + KeyCode::Enter => { + if self.preview_window_state.is_none() { + self.handle_enter() + } else { + None + } + } _ => None, } }