Mercurial > vim
view src/testdir/test_channel_write.py @ 20754:e6a5a5ef4034 v8.2.0929
patch 8.2.0929: v:register is not cleared after an operator was executed
Commit: https://github.com/vim/vim/commit/cc613031b96f1cfa5a184253e745c26f1def9be4
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jun 7 21:31:18 2020 +0200
patch 8.2.0929: v:register is not cleared after an operator was executed
Problem: v:register is not cleared after an operator was executed.
Solution: Clear v:register after finishing an operator (Andy Massimino,
closes #5305)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 07 Jun 2020 21:45:04 +0200 |
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