mirror of
https://github.com/neovim/neovim.git
synced 2025-09-19 09:48:19 +00:00
Check got_int in msg_multiline_attr
Fixes quitting the pager using `q`. Fixes https://github.com/neovim/neovim/issues/10923.
This commit is contained in:
@@ -227,7 +227,7 @@ void msg_multiline_attr(const char *s, int attr)
|
||||
{
|
||||
const char *next_spec = s;
|
||||
|
||||
while (next_spec != NULL) {
|
||||
while (next_spec != NULL && !got_int) {
|
||||
next_spec = strpbrk(s, "\t\n\r");
|
||||
|
||||
if (next_spec != NULL) {
|
||||
|
Reference in New Issue
Block a user