Compare commits
1 commit
Author | SHA1 | Date | |
---|---|---|---|
|
fc35758b0a |
3 changed files with 8 additions and 7 deletions
|
@ -1,8 +1,8 @@
|
|||
[package]
|
||||
name = "jocalsend"
|
||||
# 1.61803398874989484
|
||||
#-----^
|
||||
version = "1.6.18"
|
||||
#------^
|
||||
version = "1.6.180"
|
||||
edition = "2024"
|
||||
authors = ["Joe Ardent <code@ardent.nebcorp.com>"]
|
||||
keywords = ["p2p", "localsend", "tui", "linux"]
|
||||
|
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
1.618
|
||||
1.6180
|
||||
|
|
|
@ -17,6 +17,7 @@ pub mod widgets;
|
|||
|
||||
mod file_finder;
|
||||
use file_finder::FileFinder;
|
||||
|
||||
mod handle;
|
||||
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
|
@ -84,8 +85,8 @@ impl App {
|
|||
|
||||
pub async fn handle_events(&mut self) -> Result<()> {
|
||||
tokio::select! {
|
||||
event = self.terminal_events.next().fuse() => {
|
||||
if let Some(Ok(evt)) = event {
|
||||
terminal_event = self.terminal_events.next().fuse() => {
|
||||
if let Some(Ok(evt)) = terminal_event {
|
||||
match evt {
|
||||
Event::Key(key)
|
||||
if key.kind == KeyEventKind::Press
|
||||
|
@ -96,8 +97,8 @@ impl App {
|
|||
}
|
||||
}
|
||||
}
|
||||
transfer_event = self.jocal_event_rx.recv().fuse() => {
|
||||
if let Some(event) = transfer_event {
|
||||
jocal_event = self.jocal_event_rx.recv().fuse() => {
|
||||
if let Some(event) = jocal_event {
|
||||
log::trace!("got JocalEvent {event:?}");
|
||||
match event {
|
||||
JocalEvent::ReceiveRequest { id, request } => {
|
||||
|
|
Loading…
Reference in a new issue