Bug: Wrapped input lines interpreted as part of output

A wide command for exercise.verify() like

if [ -d /tmp/computational/linguistics/ ]; then echo "yes"; else echo "no"; fi

can make the program interpret sections of the input command as part of the output:

{
  "prompt": "/tmp/computational #",
  "input": "if [ -d /tmp/computational/linguistics/ ]; then echo \"yes\";",
  "output": [
    " else echo \"no\"; fi",
    "yes"
  ]
}
Edited by H. Fischer