summaryrefslogtreecommitdiffstats
path: root/src/structs.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-03-20 19:31:33 +0100
committerBram Moolenaar <Bram@vim.org>2016-03-20 19:31:33 +0100
commite9d6a298df6108e2044b1f0da5a2712f0c51c7d9 (patch)
tree57f9e821c4878c979bd1d353875d5516875da220 /src/structs.h
parent17b56c9f8327e6869580e3cfd82efcf8966d797a (diff)
patch 7.4.1623v7.4.1623
Problem: All Channels share the message ID, it keeps getting bigger. Solution: Use a message ID per channel.
Diffstat (limited to 'src/structs.h')
-rw-r--r--src/structs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/structs.h b/src/structs.h
index 470beff3c5..85223a0ce5 100644
--- a/src/structs.h
+++ b/src/structs.h
@@ -1380,6 +1380,7 @@ struct channel_S {
channel_T *ch_prev;
int ch_id; /* ID of the channel */
+ int ch_last_msg_id; /* ID of the last message */
chanpart_T ch_part[4]; /* info for socket, out, err and in */