diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2017-03-01 18:28:45 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-03-01 18:28:45 +0100 |
| commit | 2c408c0c94915b6c38c1eccdb68b2645829130c2 (patch) | |
| tree | a4712c411404a6125d3428c57d08bf019c7b9c28 /src/nvim/msgpack_rpc | |
| parent | 4e4c7850635dfa3218f2461b50a0b2b2c84d7242 (diff) | |
| parent | 4306e5ae0c2a31ea6798af41f7033771af9af6d5 (diff) | |
| download | rneovim-2c408c0c94915b6c38c1eccdb68b2645829130c2.tar.gz rneovim-2c408c0c94915b6c38c1eccdb68b2645829130c2.tar.bz2 rneovim-2c408c0c94915b6c38c1eccdb68b2645829130c2.zip | |
Merge #6185 from justinmk/term-cursor
terminal: Keep cursor position; Disable 'cursorline'
Diffstat (limited to 'src/nvim/msgpack_rpc')
| -rw-r--r-- | src/nvim/msgpack_rpc/channel.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/nvim/msgpack_rpc/channel.c b/src/nvim/msgpack_rpc/channel.c index 71db7506ad..de6167c7fc 100644 --- a/src/nvim/msgpack_rpc/channel.c +++ b/src/nvim/msgpack_rpc/channel.c @@ -322,7 +322,7 @@ static void parse_msgpack(Stream *stream, RBuffer *rbuf, size_t c, void *data, if (eof) { close_channel(channel); char buf[256]; - snprintf(buf, sizeof(buf), "channel %" PRIu64 " was closed by the client", + snprintf(buf, sizeof(buf), "ch %" PRIu64 " was closed by the client", channel->id); call_set_error(channel, buf); goto end; @@ -352,8 +352,8 @@ static void parse_msgpack(Stream *stream, RBuffer *rbuf, size_t c, void *data, } else { char buf[256]; snprintf(buf, sizeof(buf), - "channel %" PRIu64 " sent a response without a matching " - "request id. Ensure the client is properly synchronized", + "ch %" PRIu64 " returned a response with an unknown request " + "id. Ensure the client is properly synchronized", channel->id); call_set_error(channel, buf); } @@ -405,7 +405,7 @@ static void handle_request(Channel *channel, msgpack_object *request) &out_buffer))) { char buf[256]; snprintf(buf, sizeof(buf), - "channel %" PRIu64 " sent an invalid message, closed.", + "ch %" PRIu64 " sent an invalid message, closed.", channel->id); call_set_error(channel, buf); } @@ -497,7 +497,7 @@ static bool channel_write(Channel *channel, WBuffer *buffer) char buf[256]; snprintf(buf, sizeof(buf), - "Before returning from a RPC call, channel %" PRIu64 " was " + "Before returning from a RPC call, ch %" PRIu64 " was " "closed due to a failed write", channel->id); call_set_error(channel, buf); |