.config/config.kdl
.config/config.kdl
This file has not been changed.
.config/config_old.kdl
.config/config_old.kdl
This file has not been changed.
.harper-dictionary.txt
.harper-dictionary.txt
This file has not been changed.
Cargo.lock
Cargo.lock
This file has not been changed.
Cargo.toml
Cargo.toml
This file has not been changed.
build.rs
build.rs
This file has not been changed.
flake.lock
flake.lock
This file has not been changed.
flake.nix
flake.nix
This file has not been changed.
justfile
justfile
This file has not been changed.
+3
-3
src/app.rs
+3
-3
src/app.rs
···
150
150
151
151
fn handle_signals(&mut self, tui: &mut Tui) -> Result<()> {
152
152
while let Ok(signal) = self.signal_rx.try_recv() {
153
-
// if signal != Signal::Tick && signal != Signal::Render {
154
-
debug!("App: handling signal: {signal:?}");
155
-
// }
153
+
if signal != Signal::Tick && signal != Signal::Render {
154
+
debug!("handling signal: {signal:?}");
155
+
}
156
156
157
157
match signal {
158
158
Signal::Tick => {
src/cli.rs
src/cli.rs
This file has not been changed.
src/components/mod.rs
src/components/mod.rs
This file has not been changed.
src/config.rs
src/config.rs
This file has not been changed.
src/errors.rs
src/errors.rs
This file has not been changed.
+1
-1
src/keymap.rs
+1
-1
src/keymap.rs
src/logging.rs
src/logging.rs
This file has not been changed.
src/main.rs
src/main.rs
This file has not been changed.
src/signal.rs
src/signal.rs
This file has not been changed.
+1
-1
src/tui.rs
+1
-1
src/tui.rs
···
163
163
Some(Ok(event)) => match event {
164
164
// we only care about press down events,
165
165
// not doing anything related to up / down keypresses
166
-
CrosstermEvent::Key(key) if key.kind == KeyEventKind::Press => Event::Key(key),
166
+
CrosstermEvent::Key(key) if key.kind == KeyEventKind::Press => Event::Key(key),
167
167
CrosstermEvent::Key(_) => continue,
168
168
CrosstermEvent::Mouse(mouse) => Event::Mouse(mouse),
169
169
CrosstermEvent::Resize(x, y) => Event::Resize(x, y),
History
3 rounds
2 comments
suri.codes
submitted
#2
9 commits
expand
collapse
feat: panic_handler
feat/tui: create TUI abstraction
feat/tui: signals + bare config
feat/tui: Component trait
feat/tui: init logging
feat/tui: init app
feat: add build.rs using vergen_gix for metadata
feat/tui: init cli & running tui
feat/config: Keymap + kdl config
2/2 success
expand
collapse
expand 0 comments
pull request successfully merged
suri.codes
submitted
#1
9 commits
expand
collapse
feat: panic_handler
feat/tui: create TUI abstraction
feat/tui: signals + bare config
feat/tui: Component trait
feat/tui: init logging
feat/tui: init app
feat: add build.rs using vergen_gix for metadata
feat/tui: init cli & running tui
feat/config: Keymap + kdl config
2/2 success
expand
collapse
expand 1 comment
suri.codes
submitted
#0
8 commits
expand
collapse
feat: panic_handler
feat/tui: create TUI abstraction
feat/tui: signals + bare config
feat/tui: Component trait
feat/tui: init logging
feat/tui: init app
feat: add build.rs using vergen_gix for metadata
feat/tui: init cli & running tui
expand 1 comment
actually have parsing of the config.kdl and interpret it as keybinds. remove all the unused bindings
app should not emit handling signal on debug