diff options
author | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2020-03-24 21:27:13 -0400 |
---|---|---|
committer | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2020-03-24 21:39:40 -0400 |
commit | 77685885d5f8a8dfd1889245cf1bd6d783503620 (patch) | |
tree | 031ee7b504be4e49ddedc57c2eac352079a83066 /src/commands | |
parent | c894688fe20ad9f886ffaccb833a1f74c28db125 (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.rs | 2 |
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"), |