3 ms·
SDL is for gamedevs, it supports consoles, wgpu is not, it doesn't
by WhereIsTheTruth 2y ago
SDL is for gamedevs, it supports consoles, wgpu is not, it doesn't
- hnlmorg 2y agoSDL is for everyone. I use it for a terminal emulator because it’s easier to write something cross platform in SDL than it is to use platform native widgets APIs.
- WhereIsTheTruth 2y agoYou are right, I was too focused on the gamedev argument that it made me use an incorrect statement
- westurner 2y agoCan the SDL terminal emulator handle up-arrow /slash commands, and cool CLI things like Textual and IPython's prompt_toolkit readline (.inputrc) alternative which supports multi line editing, argument tab completion, and syntax highlighting?, in a game and/or on a PC?
- debugnik 2y agoI think you're confusing the roles of terminal emulator and shell. The emulator mainly hosts the window for a text-based application: print to the screen, send input, implement escape sequences, offer scrollback, handle OS copy-paste, etc. The features you mentioned would be implemented by the hosted application, such as a shell (which they've also implemented separately).
- westurner 2y agoDoes the SDL terminal emulator support enough of VT100, is it, to host an [in-game] console shell TUI with advanced features?
- debugnik 2y agoI'm not related to hnlmorg, but I'm assuming the project they refer to is mxtty [1], so check for yourself. [1]: https://github.com/lmorg/mxtty https://github.com/lmorg/mxtty
- anthk 2y agoSDL it's great for embedded machines with limited displays.