Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,9 @@ jobs:
- run: rustup default ${{ matrix.rustup }}
- run: cargo search gnostr --limit 100
- run: cargo install [email protected] || true
#if: matrix.os != 'windows-latest'
if: matrix.rustup == '1.89'
- run: cargo-binstall --no-confirm gnostr
if: matrix.rustup == '1.89'
- run: brew tap gnostr-org/homebrew-gnostr-org || true
if: matrix.os != 'windows-latest'
- run: brew tap nostorg/nostr || true
Expand Down
6 changes: 6 additions & 0 deletions src/lib/chat/ui.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
use crate::blockheight::blockheight_sync;
use crate::chat::msg;
use crate::weeble::weeble_sync;
use crate::wobble::wobble_sync;
use ratatui::{
backend::{Backend, CrosstermBackend},
crossterm::{
Expand All @@ -15,6 +17,7 @@ use ratatui::{
};

use std::{
env,
error::Error,
io,
sync::{Arc, Mutex},
Expand Down Expand Up @@ -134,6 +137,9 @@ fn run_app<B: Backend>(terminal: &mut Terminal<B>, app: &mut App) -> io::Result<
terminal.draw(|f| ui(f, app))?;

if !event::poll(tick_rate)? {
//env::set_var("BLOCKHEIGHT", blockheight_sync());
env::set_var("WEEBLE", weeble_sync().unwrap().to_string());
env::set_var("WOBBLE", wobble_sync().unwrap().to_string());
continue;
}

Expand Down
Loading