mirror of
https://github.com/neovim/neovim.git
synced 2025-09-16 16:28:17 +00:00
refactor(messages): fold msg_outtrans_attr into msg_outtrans
problem: there are too many different functions in message.c solution: fold some of the functions into themselves
This commit is contained in:
@@ -118,7 +118,7 @@ void filemess(buf_T *buf, char *name, char *s, int attr)
|
||||
msg_scroll = msg_scroll_save;
|
||||
msg_scrolled_ign = true;
|
||||
// may truncate the message to avoid a hit-return prompt
|
||||
msg_outtrans_attr(msg_may_trunc(false, IObuff), attr);
|
||||
msg_outtrans(msg_may_trunc(false, IObuff), attr);
|
||||
msg_clr_eos();
|
||||
ui_flush();
|
||||
msg_scrolled_ign = false;
|
||||
|
Reference in New Issue
Block a user