fix terminal run logic
fix terminal run logic

openrepl/openrepl,openrepl/openrepl,openrepl/openrepl,openrepl/openrepl,openrepl/openrepl,openrepl/openrepl,openrepl/openrepl,openrepl/openrepl,openrepl/openrepl