mirror of
https://github.com/veops/oneterm.git
synced 2025-10-26 09:00:26 +08:00
fix(backend): ssh connect
This commit is contained in:
@@ -88,7 +88,7 @@ func (p *Parser) AddInput(bs []byte) (cmd string, forbidden bool) {
|
||||
}
|
||||
p.isPrompt = true
|
||||
p.curCmd = p.getCmdLocked()
|
||||
p.Reset()
|
||||
p.resetLocked()
|
||||
filter := ""
|
||||
if filter, forbidden = p.IsForbidden(p.curCmd); forbidden {
|
||||
cmd = filter
|
||||
|
||||
Reference in New Issue
Block a user