mirror of
https://github.com/openai/codex.git
synced 2026-04-24 22:54:54 +00:00
Clippy
This commit is contained in:
@@ -30,7 +30,7 @@ fn post_macos_notification(_: &str) -> bool {
|
||||
|
||||
/// Command that emits an OSC 9 desktop notification with a message.
|
||||
#[derive(Debug, Clone)]
|
||||
struct PostNotification(pub String);
|
||||
pub struct PostNotification(pub String);
|
||||
|
||||
impl Command for PostNotification {
|
||||
fn write_ansi(&self, f: &mut impl fmt::Write) -> fmt::Result {
|
||||
|
||||
@@ -37,6 +37,7 @@ use tokio_stream::Stream;
|
||||
|
||||
use crate::custom_terminal;
|
||||
use crate::custom_terminal::Terminal as CustomTerminal;
|
||||
use crate::notifications::PostNotification;
|
||||
#[cfg(unix)]
|
||||
use crate::tui::job_control::SUSPEND_KEY;
|
||||
#[cfg(unix)]
|
||||
|
||||
Reference in New Issue
Block a user