Remove pseudo message after server replied
This commit is contained in:
parent
a0b89b3990
commit
cfcc663169
5 changed files with 84 additions and 12 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue