Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
background job and atuin don't work well
- X-seq: zsh-workers 52524
- From: lilydjwg <lilydjwg@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: background job and atuin don't work well
- Date: Fri, 9 Feb 2024 19:13:00 +0800
- Archived-at: <https://zsh.org/workers/52524>
- List-id: <zsh-workers.zsh.org>
atuin[1] is a history searcher that runs in the zle context. It
interacts with /dev/tty to show its UI.
I find that when a background job finishes during atuin is running, the
terminal state is corrupted, e.g. when \n is printed, it only moves the
cursor down, but not to the start. A `reset` fixes it.
atuin does restore the terminal state, but after that then zsh sets it
wrongly. If I `setopt localoptions nonotify` before running atuin, this
issue won't happen, but I can't see the background job status update
unless I run `jobs` manually.
[1]: https://github.com/atuinsh/atuin
--
Best regards,
lilydjwg
Messages sorted by:
Reverse Date,
Date,
Thread,
Author