diff --git a/apps/recorder/src/app/core.rs b/apps/recorder/src/app/core.rs index fb3087a..7b07359 100644 --- a/apps/recorder/src/app/core.rs +++ b/apps/recorder/src/app/core.rs @@ -78,12 +78,25 @@ impl App { .await; }; + #[cfg(all(unix, debug_assertions))] + let quit = async { + signal::unix::signal(signal::unix::SignalKind::quit()) + .expect("Failed to install SIGQUIT handler") + .recv() + .await; + println!("Received SIGQUIT"); + }; + #[cfg(not(unix))] let terminate = std::future::pending::<()>(); + #[cfg(all(not(unix), debug_assertions))] + let quit = std::future::pending::<()>(); + tokio::select! { () = ctrl_c => {}, () = terminate => {}, + () = quit => {}, } } } diff --git a/apps/webui/src/app.css b/apps/webui/src/app.css index 11ec438..cafedda 100644 --- a/apps/webui/src/app.css +++ b/apps/webui/src/app.css @@ -138,4 +138,9 @@ body { @apply bg-background text-foreground; } + + button:not(:disabled), + [role="button"]:not(:disabled) { + cursor: pointer; + } } \ No newline at end of file diff --git a/apps/webui/src/components/layout/app-icon.tsx b/apps/webui/src/components/layout/app-icon.tsx index b34be10..9526392 100644 --- a/apps/webui/src/components/layout/app-icon.tsx +++ b/apps/webui/src/components/layout/app-icon.tsx @@ -23,7 +23,7 @@ export function AppIcon() { /> -