Commit Graph

11 Commits

Author SHA1 Message Date
fang
52512ed4d4
herm: factor mark conversion logic into lib 2021-04-28 14:17:30 +02:00
fang
4b7f05c681
dill: rename %lin to %put
It's no longer strictly a full line of screen content, instead more
accurately described now as "put text at cursor".
2021-03-13 02:20:00 +01:00
fang
780b07e3d4
webterm: make %hop naming consistent with lull
and belt.
2021-03-08 22:19:56 +01:00
fang
74924d3468
webterm: update for nu-dill, rewrite with xterm.js
Updates /app/herm and dependencies to work with latest dill, and
rewrites the entire webterm frontend to use xterm.js for rendering.

Webterm code needs a bit more work. Its subscription handling might
want to be moved out, it needs to handle resizing, react to landscape
theme changes, etc.
2021-03-08 16:19:33 +01:00
fang
5d8b44ccbc
dill: support 2d %hop
Instead of confining you to just the bottom row. 0,0 is bottom left.

Doesn't behave exactly as expected for non-zero column coordinates yet,
but all in due time.
2021-01-28 01:20:45 +01:00
fang
776de8b3d9
lull: make dill-blit explicit superset of blit
Likewise for belt. This necessitates renaming the %mor blit for newlines
to %nel, making this require a new runtime version. That's fine, more
breaking changes are to follow.
2021-01-26 18:37:33 +01:00
Joe Bryan
fd707761f8 zuse: moves lib/base64 2020-12-08 02:36:11 -08:00
fang
1ea59bbad3
webterm: update mar and js to support 24-bit color 2020-12-02 17:26:17 +01:00
fang
eb40e2feed
webterm: handle unicode more correctly
Make the marks produce json arrays where the (list @c) type is used.
On the frontend, transform the semantic (character-based) cursor
position into a byte-based one, in order to ensure the cursor gets
rendered at the correct location, even if the presence of multi-byte
characters like emoji.
2020-11-10 20:42:28 +01:00
fang
f950d710c3
webterm: support downloading files
For %sav and %sag blits.
2020-11-06 13:47:22 +01:00
fang
185b553c99
herm: userspace dill proxy
Listens to the default dill session and passes its %blits on to
subscribers. Passes any %belt pokes it gets into dill.

Updates webdojo to make use of it, which is the primary motivation for
herm's existence.
2020-11-05 19:39:08 +01:00