view src/testdir/test_channel_write.py @ 31107:86c628c39931 v9.0.0888

patch 9.0.0888: MS-Windows GUI: CTRL-] does not work on Swiss keyboard Commit: https://github.com/vim/vim/commit/f10952e8c0b94bae58742f147d6779998d189892 Author: Aedin Louis Xavier <mmxael@gmail.com> Date: Wed Nov 16 12:02:28 2022 +0000 patch 9.0.0888: MS-Windows GUI: CTRL-] does not work on Swiss keyboard Problem: MS-Windows GUI: CTRL-] does not work on Swiss keyboard. Solution: Check the key code and don't consider it as a dead key. (Aedin Louis Xavier, closes #11556)
author Bram Moolenaar <Bram@vim.org>
date Wed, 16 Nov 2022 13:15:04 +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