My personal-knowledge-system, with deeply integrated task tracking and long term goal planning capabilities.

tui scaffolding #11

merged opened by suri.codes targeting main from tui
Labels

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:nxdjlcnomw44wvso6myag2e6/sh.tangled.repo.pull/3mgl5qimefq22
+5 -5
Interdiff #1 โ†’ #2
.config/config.kdl

This file has not been changed.

.config/config_old.kdl

This file has not been changed.

.harper-dictionary.txt

This file has not been changed.

Cargo.lock

This file has not been changed.

Cargo.toml

This file has not been changed.

build.rs

This file has not been changed.

flake.lock

This file has not been changed.

flake.nix

This file has not been changed.

justfile

This file has not been changed.

+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

This file has not been changed.

src/components/mod.rs

This file has not been changed.

src/config.rs

This file has not been changed.

src/errors.rs

This file has not been changed.

+1 -1
src/keymap.rs
··· 176 176 use crate::{keymap::KeyMap, signal::Signal}; 177 177 178 178 #[test] 179 - fn test_quit_and_suspend_in_home_region() { 179 + fn test_quit_in_home_region() { 180 180 let keymap_str = " 181 181 keymap { 182 182 Home {
src/logging.rs

This file has not been changed.

src/main.rs

This file has not been changed.

src/signal.rs

This file has not been changed.

+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
sign up or login to add to the discussion
9 commits
expand
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
expand 0 comments
pull request successfully merged
9 commits
expand
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
expand 1 comment

app should not emit handling signal on debug

8 commits
expand
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