aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/application.rs
diff options
context:
space:
mode:
authorSkyler Hawthorne2022-04-23 22:38:55 +0000
committerSkyler Hawthorne2022-10-19 02:31:38 +0000
commita5a93182cd5ccf88bc95b68044aa05d746ded35e (patch)
tree14e7d73c9f0b4f0c969f487165c56ab4402fbebd /helix-term/src/application.rs
parentd706194597d462fbaeb1ef55e2e8fb6eae38d2f3 (diff)
fix: buffer-close ensuring writes
Make sure buffer-close waits for the document to finish its writes.
Diffstat (limited to 'helix-term/src/application.rs')
-rw-r--r--helix-term/src/application.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/helix-term/src/application.rs b/helix-term/src/application.rs
index a9e25d08..2c1047da 100644
--- a/helix-term/src/application.rs
+++ b/helix-term/src/application.rs
@@ -310,6 +310,8 @@ impl Application {
self.render();
}
event = self.editor.wait_event() => {
+ log::debug!("received editor event: {:?}", event);
+
match event {
EditorEvent::DocumentSave(event) => {
self.handle_document_write(event);