Mercurial > vim
view src/testdir/test_channel_write.py @ 30950:6d2095a8499d v9.0.0809
patch 9.0.0809: test for job writing to buffer fails
Commit: https://github.com/vim/vim/commit/63c84731c1802bac36c1d1a82b3ef5960b35b089
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Oct 20 21:14:19 2022 +0100
patch 9.0.0809: test for job writing to buffer fails
Problem: Test for job writing to buffer fails.
Solution: Correct w_topline when deleting a buffer line.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 20 Oct 2022 22:15: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