A POC of an embedded xterm.js terminal for Python Qt/PySide2 for Windows
To run:
virtualenv venv
.\venv\Scripts\activate
pip install -r requirements.txt
npm install
./main.pyw
In case I ever want to make this more fully blown.
- Make it work on other OS than Windows by also supporting the standard
pty
module. - Handle window resize so it doesn't leave a margin at the bottom of the window. I think VS Code just uses some CSS to align the terminal to the bottom.
- Bundle resources.
- Minify/webpack.
- Include
xterm-addon-webgl
.