libtmt
libtmt copied to clipboard
A small, simple, useful terminal emulation library.
I get the sense that libtmt does not top your list of priorities at this time, but I've recently done a chunk of work on it and wanted to make...
This is not an issue but only a request for information. I am considering using this library for [Lite XL](https://github.com/lite-xl/lite-xl/) an editor derived from [lite](https://github.com/rxi/lite/), written in Lua with a...
ECH deletes specified number of characters right of the cursor. The clearline function however takes an absolute position, so the handler needed to add the current cursor. This for example...
This allows the non-colour attributes to come second, and for more than one of them to be submitted in a single CSI command. Sorry for submitting to PRs in quick...
Previously, if I do something like this: ``` TMT* vt = tmt_open(80, 25, normal_callback, nullptr, nullptr); tmt_write(vt, "hello", 5); ASSERT_EQ(tmt_screen(vt)->lines[0]->chars[0].a.fg, TMT_COLOR_DEFAULT); ``` Then the assertion will fail as `fg ==...
I'm not sure I've implemented this the best way possible, but MurphyMc/libtmt@996cd9e5efe61211720b9bb6714b5913e8c62010 is a (working) first attempt at it. Thoughts? Reference: http://tldp.org/HOWTO/Xterm-Title-3.html (This was done to support the related feature...
This change updates the libtmt to support all 16 colors and specified RGB characteristics for the SGL class of ANSI terminal codes. This is specifically needed to meaningfully support the...