comparison src/testdir/test_channel.py @ 7902:f12d6235a753 v7.4.1247

commit https://github.com/vim/vim/commit/a0f9cd148eaab23b2037d2f543f3b8f5a3a7ad3c Author: Bram Moolenaar <Bram@vim.org> Date: Wed Feb 3 20:13:24 2016 +0100 patch 7.4.1247 Problem: The channel test doesn't run on MS-Windows. Solution: Make it work on the MS-Windows console. (Ken Takata)
author Christian Brabandt <cb@256bit.org>
date Wed, 03 Feb 2016 20:15:05 +0100
parents 93c61501c2cf
children ea1fd8d750a6
comparison
equal deleted inserted replaced
7901:46e8a350947d 7902:f12d6235a753
4 # Run this server and then in Vim you can open the channel: 4 # Run this server and then in Vim you can open the channel:
5 # :let handle = ch_open('localhost:8765', 'json') 5 # :let handle = ch_open('localhost:8765', 'json')
6 # 6 #
7 # Then Vim can send requests to the server: 7 # Then Vim can send requests to the server:
8 # :let response = ch_sendexpr(handle, 'hello!') 8 # :let response = ch_sendexpr(handle, 'hello!')
9 #
10 # And you can control Vim by typing a JSON message here, e.g.:
11 # ["ex","echo 'hi there'"]
12 #
13 # There is no prompt, just type a line and press Enter.
14 # To exit cleanly type "quit<Enter>".
15 # 9 #
16 # See ":help channel-demo" in Vim. 10 # See ":help channel-demo" in Vim.
17 # 11 #
18 # This requires Python 2.6 or later. 12 # This requires Python 2.6 or later.
19 13