mirror of
https://github.com/vim/vim.git
synced 2025-10-02 05:04:20 -04:00
patch 7.4.1902
Problem: No test for collapsing buffers for a channel. Some text is lost. Solution: Add a simple test. Set rq_buflen correctly.
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
|
||||
from __future__ import print_function
|
||||
import sys
|
||||
import time
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
@@ -31,6 +32,15 @@ if __name__ == "__main__":
|
||||
if typed.startswith("double "):
|
||||
print(typed[7:-1] + "\nAND " + typed[7:-1])
|
||||
sys.stdout.flush()
|
||||
if typed.startswith("split "):
|
||||
print(typed[6:-1], end='')
|
||||
sys.stdout.flush()
|
||||
time.sleep(0.05)
|
||||
print(typed[6:-1], end='')
|
||||
sys.stdout.flush()
|
||||
time.sleep(0.05)
|
||||
print(typed[6:-1])
|
||||
sys.stdout.flush()
|
||||
if typed.startswith("echoerr "):
|
||||
print(typed[8:-1], file=sys.stderr)
|
||||
sys.stderr.flush()
|
||||
|
Reference in New Issue
Block a user