YoBatM commited on
Commit
4bb3cdc
·
verified ·
1 Parent(s): f8a2d23

Update src/terminal.js

Browse files
Files changed (1) hide show
  1. src/terminal.js +1 -1
src/terminal.js CHANGED
@@ -57,7 +57,7 @@ export const handleTerminalConnection = (ws) => {
57
  ws.on('message', command => {
58
  const processedCommand = commandProcessor(command);
59
  console.log(processedCommand)
60
- if(processedCommand.read()=="ia"){
61
  ptyProcess.kill()
62
  sharedPtyProcess = IA()
63
 
 
57
  ws.on('message', command => {
58
  const processedCommand = commandProcessor(command);
59
  console.log(processedCommand)
60
+ if(processedCommand.text()=="ia"){
61
  ptyProcess.kill()
62
  sharedPtyProcess = IA()
63