summaryrefslogtreecommitdiffstats
path: root/src/commands
diff options
context:
space:
mode:
authorJiayi Zhao <jeff.no.zhao@gmail.com>2020-03-24 21:27:13 -0400
committerJiayi Zhao <jeff.no.zhao@gmail.com>2020-03-24 21:39:40 -0400
commit77685885d5f8a8dfd1889245cf1bd6d783503620 (patch)
tree031ee7b504be4e49ddedc57c2eac352079a83066 /src/commands
parentc894688fe20ad9f886ffaccb833a1f74c28db125 (diff)
textfield cursor working correctly
- this fixes boundary issues and cursor not staying in place - also fix issue with quit not making sure all io workers are done
Diffstat (limited to 'src/commands')
-rw-r--r--src/commands/quit.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/quit.rs b/src/commands/quit.rs
index bf1132f..45283c1 100644
--- a/src/commands/quit.rs
+++ b/src/commands/quit.rs
@@ -15,7 +15,7 @@ impl Quit {
}
pub fn quit(context: &mut JoshutoContext) -> JoshutoResult<()> {
- if !context.worker_queue.is_empty() {
+ if context.worker_busy {
Err(JoshutoError::new(
JoshutoErrorKind::IOOther,
String::from("operations running in background, use force_quit to quit"),