diff --git a/src/lib.rs b/src/lib.rs index 4557ee8..51ed4f6 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -77,6 +77,6 @@ where /// Sends `readyok` to the GUI pub fn ready(&mut self) { - write!(&mut self.writer, "{}", commands::ReADYOK).expect("failed to send `readyok` command"); + write!(&mut self.writer, "{}", commands::READYOK).expect("failed to send `readyok` command"); } }