6 Commits

Author SHA1 Message Date
0f72606dd0 fix: cargo.lock
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2025-01-07 22:46:59 +01:00
cuddle-please
69d008feb6 chore(release): 0.3.2
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
2025-01-07 22:36:46 +01:00
ada020e283 feat: allow ctrl+c to exit application
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
2025-01-07 22:36:46 +01:00
708180f9a2 fix(deps): update rust crate async-trait to v0.1.85
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2025-01-07 01:35:21 +00:00
33ba27bf77 chore(release): v0.3.1 (#43)
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
chore(release): 0.3.1

Co-authored-by: cuddle-please <bot@cuddle.sh>
Reviewed-on: https://git.front.kjuulh.io/kjuulh/gitnow/pulls/43
2025-01-02 09:47:09 +01:00
74a1daac4c chore: enable publish
All checks were successful
continuous-integration/drone/push Build is passing
2025-01-02 09:44:37 +01:00
5 changed files with 386 additions and 330 deletions

View File

@@ -6,6 +6,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased] ## [Unreleased]
## [0.3.2] - 2025-01-07
### Fixed
- *(deps)* update rust crate async-trait to v0.1.85
## [0.3.1] - 2025-01-02
### Other
- enable publish
## [0.3.0] - 2025-01-01 ## [0.3.0] - 2025-01-01
### Added ### Added

694
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -3,7 +3,7 @@ members = ["crates/*"]
resolver = "2" resolver = "2"
[workspace.package] [workspace.package]
version = "0.3.0" version = "0.3.2"
[workspace.dependencies] [workspace.dependencies]

View File

@@ -36,6 +36,7 @@ impl InteractiveApp for &'static crate::app::App {
} }
mod app { mod app {
use crossterm::event::KeyModifiers;
use ratatui::{ use ratatui::{
crossterm::event::{self, Event, KeyCode}, crossterm::event::{self, Event, KeyCode},
layout::{Constraint, Layout}, layout::{Constraint, Layout},
@@ -92,6 +93,12 @@ mod app {
terminal.draw(|frame| self.draw(frame))?; terminal.draw(|frame| self.draw(frame))?;
if let Event::Key(key) = event::read()? { if let Event::Key(key) = event::read()? {
if let KeyCode::Char('c') = key.code {
if key.modifiers.contains(KeyModifiers::CONTROL) {
return Ok(None);
}
}
match key.code { match key.code {
KeyCode::Char(letter) => { KeyCode::Char(letter) => {
self.current_search.push(letter); self.current_search.push(letter);

View File

@@ -6,6 +6,9 @@ vars:
service: "gitnow" service: "gitnow"
registry: kasperhermansen registry: kasperhermansen
rust:
publish: {}
please: please:
project: project:
owner: kjuulh owner: kjuulh