Mercurial > vim
view src/testdir/test_channel_write.py @ 31323:a93392e93a53 v9.0.0995
patch 9.0.0995: padding before virtual text is highlighted
Commit: https://github.com/vim/vim/commit/37f088eeade7972bce45b663adaba4bf102a9999
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Dec 2 21:50:14 2022 +0000
patch 9.0.0995: padding before virtual text is highlighted
Problem: Padding before virtual text below is highlighted when 'number' and
'nowrap' are set.
Solution: Save and restore n_attr_skip. (closes #11643)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 02 Dec 2022 23:00:03 +0100 |
parents | 5cd9ba96561d |
children |
line wrap: on
line source
#!/usr/bin/python # # Program that writes a number to stdout repeatedly # # This requires Python 2.6 or later. from __future__ import print_function import sys import time if __name__ == "__main__": done = 0 while done < 10: done = done + 1 print(done) sys.stdout.flush() time.sleep(0.05) # sleep 50 msec