urbit/pkg/interface/webterm/lib
fang f6ee174d64
webterm: simpler printf rendering
As it turns out, the exact behavior of the 'S' CSI command is not "move
contents up into scrollback", but rather "delete the top line(s), move other
contents up". This behavior leads webterm to eat into outputs whenever it
renders slogs.

Xterm(.js), when given a newline character at the bottom of a scroll region,
does produce the desired behavior of bumping the top line away into scrollback,
instead of obliterating it.

This implementation now diverges from vere's, which is unfortunate, but the
alternative is making webterm track the contents of the bottom-most line of
the default session, which seems rather ridiculous by comparison.

Fixes #6257.
2023-01-28 00:34:03 +01:00
..
bel.ts webterm: backport 2021-11-25 13:00:52 +01:00
blit.ts webterm: simpler printf rendering 2023-01-28 00:34:03 +01:00
retry.ts api: exponential backoff when resubscribing 2022-03-10 22:54:30 -06:00
stye.ts webterm: support multiple sessions 2022-03-02 17:34:19 -06:00
theme.ts webterm: ensure content under cursor is visible 2022-05-15 19:01:02 +02:00
useAddSession.ts devex: address PR feedback 2022-04-11 12:05:25 -07:00
useDark.ts devex: cleaning up lint issues 2022-03-09 16:25:10 -06:00
useDetectOS.ts ux: detect OS for hotkey instructions 2022-04-13 08:47:30 -07:00
useIsMounted.ts ux: show a keypress indicator after a delay 2022-07-17 15:16:35 +02:00