From: Bart Schaefer <schaefer@brasslantern.com> To: Zsh hackers list <zsh-workers@zsh.org> Subject: zle -M doesn't work in zle-line-finish (zsh 5.9) Date: Tue, 24 May 2022 13:32:29 -0700 [thread overview] Message-ID: <CAH+w=7boYp5O4xfPQfebsBaCwgATcbeN8Pq091ba5PaZuKHW2Q@mail.gmail.com> (raw) More accurately, it works but it screws up the output and the prompt. The last line of output is erased and the cursor is positioned as if the prompt were there, but there is no prompt. Minimal test case: Macadamia% zle-line-finish () { zle -M FINISHED } Macadamia% printf "%s\n" line1 line2 line1 line2 Macadamia% zle -N zle-line-finish Macadamia% printf "%s\n" line1 line2 line1 FINISHED Cursor is on the line above FINISHED, 11 spaces to the right.
reply other threads:[~2022-05-24 20:33 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to='CAH+w=7boYp5O4xfPQfebsBaCwgATcbeN8Pq091ba5PaZuKHW2Q@mail.gmail.com' \ --to=schaefer@brasslantern.com \ --cc=zsh-workers@zsh.org \ --subject='Re: zle -M doesn'\''t work in zle-line-finish (zsh 5.9)' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
Code repositories for project(s) associated with this inbox: https://git.vuxu.org/mirror/zsh/ This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).