10 Commits

Author SHA1 Message Date
14f1be5a2a Merge pull request 'Update Cargo.toml' (#7) from nvrl-patch-1 into main
All checks were successful
Release / Build and Release (push) Successful in 53s
Reviewed-on: #7
2026-03-17 09:33:13 +01:00
49eac25d48 Update Cargo.toml
All checks were successful
Version Check / check-version (pull_request) Successful in 3s
2026-03-17 09:33:05 +01:00
3459c67377 Merge pull request 'release/0.3.0' (#6) from release/0.3.0 into main
All checks were successful
Release / Build and Release (push) Successful in 18s
Reviewed-on: #6
2026-03-17 09:30:26 +01:00
0ce858da5c fixed transparent defaulting to true 2026-03-17 09:30:33 +01:00
84945b9d83 clear search term everytime 2026-03-17 09:29:12 +01:00
93c5c30021 Merge pull request 'release/0.2.1' (#5) from release/0.2.1 into main
All checks were successful
Release / Build and Release (push) Successful in 57s
Reviewed-on: #5
2026-03-16 18:00:02 +01:00
d52422d839 Merge pull request 'release/0.2.0' (#4) from release/0.2.0 into main
All checks were successful
Release / Build and Release (push) Successful in 47s
Reviewed-on: #4
2026-03-16 17:46:58 +01:00
ac7b67748d Merge pull request 'fixed release upload' (#3) from release/0.1.0 into main
All checks were successful
Release / Build and Release (push) Successful in 39s
Reviewed-on: nvrl/cenv-rs#3
2026-03-16 15:56:25 +01:00
361df64b04 Merge pull request 'added version check + fixed release' (#2) from release/0.1.0 into main
Some checks failed
Release / Build and Release (push) Failing after 36s
Reviewed-on: nvrl/cenv-rs#2
2026-03-16 15:54:27 +01:00
6eddd02fb4 Merge pull request 'release/0.1.0' (#1) from release/0.1.0 into main
Some checks failed
Release / Build and Release (push) Failing after 44s
Reviewed-on: nvrl/cenv-rs#1
2026-03-16 15:49:05 +01:00
3 changed files with 4 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "mould" name = "mould"
version = "0.2.1" version = "0.3.0"
edition = "2024" edition = "2024"
authors = ["Nils Pukropp <nils@narl.io>"] authors = ["Nils Pukropp <nils@narl.io>"]

View File

@@ -4,9 +4,9 @@ use std::fs;
/// Configuration for the application's appearance. /// Configuration for the application's appearance.
#[derive(Debug, Deserialize, Serialize, Clone)] #[derive(Debug, Deserialize, Serialize, Clone)]
#[serde(default)]
pub struct ThemeConfig { pub struct ThemeConfig {
/// If true, skip rendering the background block to let the terminal's transparency show. /// If true, skip rendering the background block to let the terminal's transparency show.
#[serde(default)]
pub transparent: bool, pub transparent: bool,
/// Color for standard background areas (when not transparent). /// Color for standard background areas (when not transparent).
pub crust: String, pub crust: String,
@@ -91,6 +91,7 @@ impl Default for ThemeConfig {
/// Custom keybindings for navigation and application control. /// Custom keybindings for navigation and application control.
#[derive(Debug, Deserialize, Serialize, Clone)] #[derive(Debug, Deserialize, Serialize, Clone)]
#[serde(default)]
pub struct KeybindsConfig { pub struct KeybindsConfig {
pub down: String, pub down: String,
pub up: String, pub up: String,

View File

@@ -121,6 +121,7 @@ where
self.app.running = false; self.app.running = false;
} else if c_str == self.config.keybinds.search { } else if c_str == self.config.keybinds.search {
self.app.mode = Mode::Search; self.app.mode = Mode::Search;
self.app.search_query.clear();
self.app.status_message = Some(format!("{} ", self.config.keybinds.search)); self.app.status_message = Some(format!("{} ", self.config.keybinds.search));
} else if c_str == self.config.keybinds.next_match { } else if c_str == self.config.keybinds.next_match {
self.app.jump_next_match(); self.app.jump_next_match();