Remove pseudo message after server replied

This commit is contained in:
Joscha 2022-08-02 21:43:30 +02:00
parent a0b89b3990
commit cfcc663169
5 changed files with 84 additions and 12 deletions

View file

@ -214,6 +214,10 @@ impl EditorState {
self.0.lock().set_text(text);
}
pub fn clear(&self) {
self.set_text(String::new());
}
pub fn insert_char(&self, ch: char) {
self.0.lock().insert_char(ch);
}