Skip to content
This repository was archived by the owner on Dec 20, 2024. It is now read-only.

Commit e48b42f

Browse files
committedAug 7, 2020
Fix compile issue and update docs
1 parent e0a202d commit e48b42f

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed
 

‎protocol.md

+2
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,8 @@ first 16 bytes, since that's implicit.
116116
117117
----
118118

119+
### List of messages
120+
119121
#### Protocol Version `0`
120122

121123
Request:

‎src/console/ansi.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ impl AnsiCode {
227227

228228
fn enable(self) {
229229
let (pair, attr) = self.attr_pair();
230-
if let Some((id, _, _)) = pair {
230+
if let Some(PairValues { id, .. }) = pair {
231231
attron(COLOR_PAIR(id));
232232
}
233233
if let Some(attr) = attr {
@@ -240,7 +240,7 @@ impl AnsiCode {
240240
if let Some(attr) = attr {
241241
attroff(attr);
242242
}
243-
if let Some((id, _, _)) = pair {
243+
if let Some(PairValues { id, .. }) = pair {
244244
attroff(COLOR_PAIR(id));
245245
}
246246
}

‎usage.md

+1
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ makes available:
4646
* `send`: Send a command to the server.
4747
* `status`: View the current status of the server.
4848
* `timings`: Generate a Timings report and get a URL to view it.
49+
* `console`: Attach to an emulated console for the server.
4950
* Commands for running the server:
5051
* `run`: Run the server in the foreground (not as a daemon, really only useful for testing)
5152
* `start`: Start the server in the background as a daemon

0 commit comments

Comments
 (0)
This repository has been archived.