parent
5d4ad13b77
commit
f2fa2c1d31
2
run.go
2
run.go
|
@ -179,6 +179,6 @@ func (cmd *Shell) ReadToBuffer(f *File) bool {
|
|||
// log.Debugln("ReadToBuffer() count = ", count)
|
||||
// tmp := Chomp(oneByte)
|
||||
// log.Debugln("ReadToBuffer() tmp = ", tmp)
|
||||
io.WriteString(cmd.Buffer, string(oneByte))
|
||||
io.WriteString(cmd.Buffer, strings.Trim(string(oneByte), "\x00"))
|
||||
return false
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue