2 ms·
> make the shell prompt interactive On my dev system i have a build of fiddle which uses the jquery.terminal plugin as the main interface (with a button to tog
by sgbeal 4y ago
> make the shell prompt interactive
On my dev system i have a build of fiddle which uses the jquery.terminal plugin as the main interface (with a button to toggle between it and the current UI), but it relies on 3rd-party code which is not approved for inclusion into the core sqlite3 repository (plus it's huge: all of the competent terminal-like APIs we evaluated so far bring 300-500kb of minimized JS dependencies). Reimplementing such a console, minus the jquery/etc dependencies, is beyond my current ambitions but has not been ruled out entirely long-term. Baby steps.
> bundle various $EDITOR choices
That would require a _proper_ terminal for those editors to live in, as opposed to a terminal lookalike such as jquery.terminal. xterm.js could presumably do it but is even bigger than jquery.terminal. No doubt that's _possible_ in wasm, but such features are _way_ beyond any current aspirations or scope for this app.
- cryptonector 4y agoWhat you do is build a very cut-down Linux system, bubybox style, as wasm, and deliver that.
- sgbeal 4y ago> What you do is build a very cut-down Linux system, bubybox style, as wasm, and deliver that. Though i'd very much like to see such a thing, that's well, well, _well_ outside the scope of this project. If someone wants to create such a fiddle environment, _fantastic_, and i'll support them in any way i can in terms of necessary tweaks to the underlying fiddle-related code, but the surrounding bits would be someone else's itch to scratch.
- jansommer 4y agoDisplaying unicode characters could be a problem here. I haven't managed to get it working when building a BusyBox powered Buildroot Linux, and in my search I've found another one who've tried and failed as well.