MCPcopy
hub / github.com/c-bata/go-prompt / WriteRaw

Method WriteRaw

output_vt100.go:14–16  ·  view source on GitHub ↗

WriteRaw to write raw byte array

(data []byte)

Source from the content-addressed store, hash-verified

12
13// WriteRaw to write raw byte array
14func (w *VT100Writer) WriteRaw(data []byte) {
15 w.buffer = append(w.buffer, data...)
16}
17
18// Write to write safety byte array by removing control sequences.
19func (w *VT100Writer) Write(data []byte) {

Callers 15

WriteMethod · 0.95
WriteRawStrMethod · 0.95
EraseScreenMethod · 0.95
EraseUpMethod · 0.95
EraseDownMethod · 0.95
EraseStartOfLineMethod · 0.95
EraseEndOfLineMethod · 0.95
EraseLineMethod · 0.95
ShowCursorMethod · 0.95
HideCursorMethod · 0.95
CursorGoToMethod · 0.95
CursorUpMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected