(&mut self, name: SharedString, text: SharedString)
| 156 | } |
| 157 | |
| 158 | pub(crate) fn push_backlog(&mut self, name: SharedString, text: SharedString) { |
| 159 | self.backlog.push(BackLog { |
| 160 | front: name, |
| 161 | back: text, |
| 162 | script: self.name.to_shared_string(), |
| 163 | index: self.current_block, |
| 164 | }); |
| 165 | } |
| 166 | |
| 167 | pub(crate) fn push_command(&mut self, command: Commands) { |
| 168 | self.commands.push(command); |