Hi,
I would like to echo messages on same line using \r in first char but this following vim-python code echoes 19 lines out of display those 19 messages in same one line.
def VimPrint(value):
# echo printf("%s\r", string(1) ) . "foo"
vim.command( 'echo "\r" . printf("\r%s","'+str(1)+'") . "foo"' )
for i in range(1,20):
VimPrint(i)
I don't understand why it does not print all 19 messages in same display line.
Thank you for advice.
Best Regards
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment