Compare commits
3
Commits
1344625fc9
...
v0.2.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
65c4f2eabb | ||
|
|
e1b176a595 | ||
|
|
fe5e2d85f0 |
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "termato"
|
name = "termato"
|
||||||
version = "0.1.1"
|
version = "0.2.0"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
repository = "https://github.com/StevanFreeborn/termato"
|
repository = "https://github.com/StevanFreeborn/termato"
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
use crossterm::event::{self, Event, KeyCode, KeyModifiers};
|
|
||||||
use crate::msg::Message;
|
use crate::msg::Message;
|
||||||
|
use crossterm::event::{self, Event, KeyCode, KeyModifiers};
|
||||||
|
|
||||||
pub fn handle_event(event: Event) -> Option<Message> {
|
pub fn handle_event(event: Event) -> Option<Message> {
|
||||||
if let Event::Key(key) = event
|
if let Event::Key(key) = event
|
||||||
|
|||||||
@@ -6,11 +6,11 @@ use ratatui::{
|
|||||||
widgets::{Block, Borders, Clear, Paragraph},
|
widgets::{Block, Borders, Clear, Paragraph},
|
||||||
};
|
};
|
||||||
|
|
||||||
use crate::{audio::AudioVisualizer, constants::VIZ_NUM_BARS};
|
|
||||||
use crate::{
|
use crate::{
|
||||||
app::{Termato, TimerMode},
|
app::{Termato, TimerMode},
|
||||||
constants::SECONDS_PER_MIN,
|
constants::SECONDS_PER_MIN,
|
||||||
};
|
};
|
||||||
|
use crate::{audio::AudioVisualizer, constants::VIZ_NUM_BARS};
|
||||||
|
|
||||||
// use unicode blocks for rendering
|
// use unicode blocks for rendering
|
||||||
// Empty -> " "
|
// Empty -> " "
|
||||||
|
|||||||
Reference in New Issue
Block a user