Merge branch 'main' of ssh://github.com/christitustech/linutil into cleanup

This commit is contained in:
afonsofrancof 2024-07-31 01:22:04 +01:00
commit b6bbc14811
No known key found for this signature in database
4 changed files with 12 additions and 2 deletions

View File

@ -6,7 +6,7 @@
## Type of Change ## Type of Change
- [ ] New feature - [ ] New feature
- [ ] Bug fix - [ ] Bug fix
- [ ] Documentation Update (Due to be added!) - [ ] Documentation Update
- [ ] Refactoring - [ ] Refactoring
- [ ] Hotfix - [ ] Hotfix
- [ ] Security patch - [ ] Security patch

View File

@ -16,6 +16,9 @@ Open your terminal and paste this command:
curl -fsSL https://christitus.com/linux | sh curl -fsSL https://christitus.com/linux | sh
``` ```
## 🎓 Documentation
### [LinUtil Official Documentation](https://christitustech.github.io/linutil/)
## 💖 Support ## 💖 Support
- To morally and mentally support the project, make sure to leave a ⭐️! - To morally and mentally support the project, make sure to leave a ⭐️!

View File

@ -281,7 +281,14 @@ impl CustomList {
self.toggle_preview_window(state); self.toggle_preview_window(state);
None None
} }
KeyCode::Enter => self.handle_enter(),
KeyCode::Enter => {
if self.preview_window_state.is_none() {
self.handle_enter()
} else {
None
}
}
_ => None, _ => None,
} }
} }