News for hackers. Stuff that matters.
Re:SDL3 new GPU API merged by hnlmorg on Friday August 30, 2024 @03:15AM (#41398398)
SDL 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.
Re:SDL3 new GPU API merged by WhereIsTheTruth on Friday August 30, 2024 @03:42AM (#41398548)
You are right, I was too focused on the gamedev argument that it made me use an incorrect statement
Re:SDL3 new GPU API merged by westurner on Friday August 30, 2024 @10:04PM (#41406118)
Can 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?
Re:SDL3 new GPU API merged by debugnik on Saturday August 31, 2024 @05:19AM (#41407537)
I 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).
Re:SDL3 new GPU API merged by westurner on Saturday August 31, 2024 @03:36PM (#41411333)
Does the SDL terminal emulator support enough of VT100, is it, to host an [in-game] console shell TUI with advanced features?
Re:SDL3 new GPU API merged by debugnik on Saturday August 31, 2024 @07:38PM (#41412900)
I'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