Searched refs:command_bytes (Results 1 – 1 of 1) sorted by relevance
91 let command_bytes = self.printer.buf.borrow().clone(); in exec() localVariable93 if !command_bytes.is_empty() in exec()94 && !command_bytes.starts_with(&[b' ']) in exec()95 && command_bytes in exec()104 .push(Rc::new(RefCell::new(command_bytes.clone()))); in exec()105 self.write_commands(&command_bytes); in exec()108 if !command_bytes.iter().all(|&byte| byte == b' ') { in exec()109 self.exec_commands_in_line(&command_bytes); in exec()114 fn exec_commands_in_line(&mut self, command_bytes: &Vec<u8>) { in exec_commands_in_line()116 let input_command = String::from_utf8(command_bytes.clone()).unwrap(); in exec_commands_in_line()[all …]