diff options
author | bfredl <bjorn.linse@gmail.com> | 2022-09-01 10:18:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-01 10:18:14 +0200 |
commit | d9a873f278272bf1311179e73ae0d7fad2c00f81 (patch) | |
tree | e6f4df4a8958c8e8d34bee8225af594a62d9439c /src/nvim/mark.c | |
parent | dd8489c3992afbec425607965f8ab839e4aeb6b6 (diff) | |
parent | 5f92d9b345e11adb73df33dc22a8e656aca73b6c (diff) | |
download | rneovim-d9a873f278272bf1311179e73ae0d7fad2c00f81.tar.gz rneovim-d9a873f278272bf1311179e73ae0d7fad2c00f81.tar.bz2 rneovim-d9a873f278272bf1311179e73ae0d7fad2c00f81.zip |
Merge pull request #20038 from bfredl/unflush
perf(messages): don't call ui_flush() per message line in various places
Diffstat (limited to 'src/nvim/mark.c')
-rw-r--r-- | src/nvim/mark.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/nvim/mark.c b/src/nvim/mark.c index 816599271d..7eab37e797 100644 --- a/src/nvim/mark.c +++ b/src/nvim/mark.c @@ -925,7 +925,6 @@ static void show_one_mark(int c, char_u *arg, pos_T *p, char_u *name_arg, int cu msg_outtrans_attr((char *)name, current ? HL_ATTR(HLF_D) : 0); } } - ui_flush(); // show one line at a time } if (mustfree) { xfree(name); @@ -1058,7 +1057,6 @@ void ex_jumps(exarg_T *eap) xfree(name); os_breakcheck(); } - ui_flush(); } if (curwin->w_jumplistidx == curwin->w_jumplistlen) { msg_puts("\n>"); @@ -1101,7 +1099,6 @@ void ex_changes(exarg_T *eap) xfree(name); os_breakcheck(); } - ui_flush(); } if (curwin->w_changelistidx == curbuf->b_changelistlen) { msg_puts("\n>"); |