https://github.com/coder/ghostty-web #xtermjs #terminalemulators #GitHub #redesign #HackerNews #ngated
Today I'm wondering how I could get the new Python 3.13 REPL working in WebAssembly in the browser. ๐ค
xterm-pty for xterm.js looks possibly helpful, but I'm unsure how to use it: https://github.com/mame/xterm-pty
I'm also wondering what CPython will need to be configured in its environment to properly trigger the new REPL.
I'm a TTY novice and definitely feel in over my head with this train of thought. ๐
Have a challenge of unit testing of #xtermjs based cli app. The trick is to make #StoryBook a base for unit tests, run CLI in IFRAME and use in-browser test runner. @web/test-runner is the current choice so far. Kudos to https://modern-web.dev
That is why: