jokeyrhyme@lemmy.mltoLinux@lemmy.ml•In 2025, what features do you want in a terminal emulator? (that currently aren't widely available or at all)English
2·
7 days agoThere’s also https://www.waveterm.dev/ which seems to be an open-source attempt at something sort of like Warp/Jupyter
I don’t mind that it uses the web stack for rendering, but that’ll probably turn some folks off
Okay, let’s go with
xterm
runningbash
, where the user ranls
, soxterm
->bash
->ls
…ls
never talks toxterm
directly, it’s stdout/stderr are provided bybash
bash
effectively outputs a grid of characters toxterm
,xterm
doesn’t know about prompts or words or line feeds, just the gridls
outputs a line,bash
adds a row of output to the grid that it sends toxterm
bash
discards the top-most row, moves all other rows up by one row, and then inserts the row for thels
outputNow imagine a hypothetical fork of
bash
or some other new shell …Thus, this is entirely a shell problem, with a shell solution
However, what I’ve neglected to mention so far is that terminal emulators and shells are almost certainly optimised for rows dropping off the top edge and new rows being added to the bottom edge
So, the role of a terminal emulator in this scenario could be to provide ANSI control characters or other protocol for operating just as quickly in the opposite direction, sure