summaryrefslogtreecommitdiff
path: root/src/scriptfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/scriptfile.c')
-rw-r--r--src/scriptfile.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/scriptfile.c b/src/scriptfile.c
index 350813934..159c9fc67 100644
--- a/src/scriptfile.c
+++ b/src/scriptfile.c
@@ -1652,7 +1652,11 @@ ex_scriptnames(exarg_T *eap)
{
home_replace(NULL, SCRIPT_ITEM(i)->sn_name,
NameBuff, MAXPATHL, TRUE);
- smsg("%3d: %s", i, NameBuff);
+ vim_snprintf((char *)IObuff, IOSIZE, "%3d: %s", i, NameBuff);
+ msg_putchar('\n');
+ msg_outtrans(IObuff);
+ out_flush(); // output one line at a time
+ ui_breakcheck();
}
}