mirror of
https://github.com/socatlolmeow/drift.git
synced 2026-11-03 11:20:20 +00:00
yes
This commit is contained in:
parent
3f8e7ab05f
commit
9c6b54b705
4 changed files with 9 additions and 3 deletions
|
|
@ -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
BIN
src/test
Executable file
Binary file not shown.
6
src/test.c
Normal file
6
src/test.c
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
|
int main(int argc, char **argv)
|
||||||
|
{
|
||||||
|
printf("%d", argc);
|
||||||
|
}
|
||||||
|
|
@ -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,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue