This commit is contained in:
socatlolmeow 2026-10-11 15:35:14 +02:00
commit 9c6b54b705
4 changed files with 9 additions and 3 deletions

View file

@ -215,7 +215,7 @@ impl App {
} }
match warning { match warning {
Some(w) => app.error(w), Some(w) => app.error(w),
None => app.info("Welcome! Press / to search, ? for help."), None => app.info("Hello! Press / to search, and ? for help"),
} }
app app
} }
@ -1346,7 +1346,7 @@ impl App {
self.stop_playback(); self.stop_playback();
} }
self.states[View::Queue.idx()].select(None); self.states[View::Queue.idx()].select(None);
self.info("Queue cleared"); self.info("Cleared queue");
} }
fn remove_from_queue(&mut self, i: usize) { fn remove_from_queue(&mut self, i: usize) {

BIN
src/test Executable file

Binary file not shown.

6
src/test.c Normal file
View file

@ -0,0 +1,6 @@
#include <stdio.h>
int main(int argc, char **argv)
{
printf("%d", argc);
}

View file

@ -60,7 +60,7 @@ fn draw_tabs(f: &mut Frame, app: &App, area: Rect) {
.areas(area); .areas(area);
f.render_widget( f.render_widget(
Paragraph::new(" ♪ Drift").style(Style::new().fg(ACCENT).bold()), Paragraph::new(" Drift").style(Style::new().fg(ACCENT).bold()),
name, name,
); );