mirror of https://gogs.blitter.com/RLabs/xs
Comment and redundant file cleanup
Signed-off-by: Russ Magee <rmagee@gmail.com>
This commit is contained in:
parent
a53ec4ac2d
commit
9a72e02fc0
|
@ -1 +0,0 @@
|
||||||
CODE_OF_MERIT.md
|
|
|
@ -115,8 +115,6 @@ func copyBuffer(dst io.Writer, src io.Reader, buf []byte) (written int64, err er
|
||||||
// or tunnel traffic indicator - note we cannot just spawn a goroutine
|
// or tunnel traffic indicator - note we cannot just spawn a goroutine
|
||||||
// here, as copyBuffer() returns after each burst of data. Scope must
|
// here, as copyBuffer() returns after each burst of data. Scope must
|
||||||
// outlive individual copyBuffer calls).
|
// outlive individual copyBuffer calls).
|
||||||
// (Note that since this custom copyBuffer func is used only by
|
|
||||||
// the hkexsh client, it should eventually be moved to client.)
|
|
||||||
escs := escSeqs{
|
escs := escSeqs{
|
||||||
'i': func(io.Writer) { os.Stdout.Write([]byte("\x1b[s\x1b[2;1H\x1b[1;31m[HKEXSH]\x1b[39;49m\x1b[u")) },
|
'i': func(io.Writer) { os.Stdout.Write([]byte("\x1b[s\x1b[2;1H\x1b[1;31m[HKEXSH]\x1b[39;49m\x1b[u")) },
|
||||||
't': func(io.Writer) { os.Stdout.Write([]byte("\x1b[1;32m[HKEXSH]\x1b[39;49m")) },
|
't': func(io.Writer) { os.Stdout.Write([]byte("\x1b[1;32m[HKEXSH]\x1b[39;49m")) },
|
||||||
|
|
Loading…
Reference in New Issue