add bleve support

This commit is contained in:
lzh
2025-07-09 10:49:27 +08:00
parent a9657d35b8
commit 3f5deab95a
10 changed files with 257 additions and 27 deletions

View File

@@ -114,7 +114,9 @@ func (p *ProcessPty) readInit() {
}
func (p *ProcessPty) ReadCache(ws ConnectInstance) {
ws.Write(p.cacheBytesBuf.Bytes())
if p.cacheBytesBuf != nil {
ws.Write(p.cacheBytesBuf.Bytes())
}
}
func (p *ProcessPty) bufHanle(b []byte) {