macOS Safari と jupyter lab の組み合わせで起きる既知のバグのようです。 https://xchop.blogspot.com/2019/03/macos-jupyter-labterminal.html https://qiita.com/qasa/items/b5a6dce179efbf8760dc 別のブラウザ(chrome や firefox)をお使いください。