aboutsummaryrefslogtreecommitdiff
path: root/xC-proto
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2022-09-06 17:17:32 +0200
committerPřemysl Eric Janouch <p@janouch.name>2022-09-06 19:41:05 +0200
commit8cd94b30f67f8eacf853fbc77bd60fb57a8262dc (patch)
tree2e4580e9aa0ce6c119741f6e9a2bde2a66d04bf2 /xC-proto
parent2d30b6d1154771e194476e136ae341e46f6e08d0 (diff)
downloadxK-8cd94b30f67f8eacf853fbc77bd60fb57a8262dc.tar.gz
xK-8cd94b30f67f8eacf853fbc77bd60fb57a8262dc.tar.xz
xK-8cd94b30f67f8eacf853fbc77bd60fb57a8262dc.zip
xP: implement tab completion
Currently it only goes for the longest common prefix. Refactor WebSocket handling into an abstraction for our protocol. The Go code generater finally needed fixing.
Diffstat (limited to 'xC-proto')
-rw-r--r--xC-proto2
1 files changed, 2 insertions, 0 deletions
diff --git a/xC-proto b/xC-proto
index 54ca6b8..e985fdb 100644
--- a/xC-proto
+++ b/xC-proto
@@ -104,6 +104,8 @@ struct EventMessage {
} items<>;
case BUFFER_CLEAR:
string buffer_name;
+
+ // Restriction: command_seq is strictly increasing, across both of these.
case ERROR:
u32 command_seq;
string error;