3 ms·
Nice idea! Might I suggest using HTML for the escape codes? The terminal would be basically unlimited if there was a built-in HTML renderer. Maybe you would nee
by antiquark 11y ago
Nice idea! Might I suggest using HTML for the escape codes? The terminal would be basically unlimited if there was a built-in HTML renderer. Maybe you would need some high level "EnterHtml" and "ExitHtml" functions to simplify your scripting. But if it was HTML5 compatible, then you could generate canvases and draw on them, change your font colors, etc.
- tatterdemalion 11y agoHey, author of notty here. :-) This suggestion has been made many times, but unfortunately I think its not very viable. HTML/CSS simply weren't designed for the attributes which I think are fundamental to what makes a terminal a terminal: a character grid with a cursor, controlled over a streaming protocol. There is one narrow sense in which its viable - you could have a terminal with a browser engine and javascript VM embedded inside it, and a command to open up a browser window and perform HTTP exchanges (either over the tty or through a TCP connection). This isn't really a new terminal, though, this is just a new way to open a web browser.