ColdGrub1384 / LibTerm

iOS sandboxed terminal with Python, Lua and Clang
https://libterm.app
MIT License
630 stars 115 forks source link

Exiting python crashes LibTerm #13

Closed teor2345 closed 5 years ago

teor2345 commented 5 years ago

When I exit the python command, LibTerm crashes.

Steps to reproduce:

  1. Open LibTerm
  2. Type "python" then return
  3. Type "quit()" then return OR
  4. Type "import sys; sys.exit()" then return

Actual behaviour:

LibTerm exits immediately.

Expected behaviour:

python exits, but LibTerm does not.

Diagnostic steps:

The following commands do not crash:

The "Stop" autocompletion above the keyboard in LibTerm when python is open.

Further information:

I am using LibTerm 3.0.1 (3) on iOS 12.1 on an iPad Mini.

ColdGrub1384 commented 5 years ago

Thanks! I will fix it soon.

ColdGrub1384 commented 5 years ago

Fixed by 795454c57e80caa78de5145eb502737e900604b3