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.
This commit is contained in:
2022-09-06 17:17:32 +02:00
parent 2d30b6d115
commit 8cd94b30f6
3 changed files with 218 additions and 80 deletions

View File

@@ -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;