More fixes to webclient
This commit is contained in:
parent
850c5effaa
commit
950c107ed4
2 changed files with 32 additions and 40 deletions
|
|
@ -150,7 +150,7 @@ class WebSocketClient(Protocol, Session):
|
|||
if "prompt" in kwargs:
|
||||
self.sendLine("PROMPT" + parse_html(kwargs["prompt"], strip_ansi=nomarkup))
|
||||
if raw:
|
||||
self.sendLine(text)
|
||||
self.sendLine("CMD" + text)
|
||||
else:
|
||||
self.sendLine(parse_html(text, strip_ansi=nomarkup))
|
||||
self.sendLine("CMD" + parse_html(text, strip_ansi=nomarkup))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue