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

patch 7.4.1484

Problem:    Channel "err-io" value "out" is not supported.
Solution:   Connect stderr to stdout if wanted.
This commit is contained in:
Bram Moolenaar
2016-03-03 21:02:23 +01:00
parent d6547fc647
commit c25558bff4
5 changed files with 60 additions and 16 deletions

View File

@@ -18,9 +18,12 @@ if __name__ == "__main__":
print("Goodbye!")
sys.stdout.flush()
break
if typed.startswith("echo"):
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"):
print(typed[7:-1] + "\nAND " + typed[7:-1])
sys.stdout.flush()