0
0
mirror of https://github.com/vim/vim.git synced 2025-10-02 05:04:20 -04:00

patch 7.4.1514

Problem:    Channel output to file not implemented yet.
Solution:   Implement it for Unix.
This commit is contained in:
Bram Moolenaar
2016-03-08 15:37:41 +01:00
parent 41e0f2f48f
commit e98d121052
4 changed files with 145 additions and 20 deletions

View File

@@ -21,10 +21,13 @@ if __name__ == "__main__":
if typed.startswith("echo "):
print(typed[5:-1])
sys.stdout.flush()
if typed.startswith("echoerr"):
print(typed[8:-1], file=sys.stderr)
sys.stderr.flush()
if typed.startswith("double"):
if typed.startswith("double "):
print(typed[7:-1] + "\nAND " + typed[7:-1])
sys.stdout.flush()
if typed.startswith("echoerr "):
print(typed[8:-1], file=sys.stderr)
sys.stderr.flush()
if typed.startswith("doubleerr "):
print(typed[10:-1] + "\nAND " + typed[10:-1], file=sys.stderr)
sys.stderr.flush()