A fast, lightweight and minimalistic Wayland terminal emulator
Find a file
Daniel Eklöf e2229c7e2e
osc: bug: uneven clipboard bytes where not buffered correctly
When responding to a OSC 52 clipboard request, we need to base64
encode the clipboard data.

This is done in, potentially, several calls. Since we need at least 3
bytes to be able to produce any base64 output, we may have to buffer
up to 2 bytes between the callback calls with clipboard data.

This was being done incorrectly, where both bytes were written to
index 0 in the buffer.
2019-08-03 21:30:06 +02:00
.gitignore initial commit: maps an XDG toplevel window 2019-06-12 20:08:54 +02:00
base64.c base64: implement encode() 2019-07-19 14:19:42 +02:00
base64.h base64: implement encode() 2019-07-19 14:19:42 +02:00
commands.c render: add render_refresh() 2019-07-24 20:11:41 +02:00
commands.h scrollback: initial support for mouse scrolling 2019-07-10 09:15:37 +02:00
config.c conf: make number of scrollback lines configurable 2019-08-01 20:08:39 +02:00
config.h conf: make number of scrollback lines configurable 2019-08-01 20:08:39 +02:00
csi.c cell: pack more efficiently and store glyph as a wchar 2019-08-02 18:19:07 +02:00
csi.h performance improvements 2019-07-07 16:32:18 +02:00
font.c cell: pack more efficiently and store glyph as a wchar 2019-08-02 18:19:07 +02:00
font.h cell: pack more efficiently and store glyph as a wchar 2019-08-02 18:19:07 +02:00
foot.desktop Add .desktop file 2019-07-15 15:29:17 +02:00
foot.info csi: implement \E[Z - back tab 2019-07-22 20:33:50 +02:00
footrc conf: make number of scrollback lines configurable 2019-08-01 20:08:39 +02:00
grid.c render: add a 'clean' bit to each cell; only render cells that aren't clean 2019-07-30 18:03:03 +02:00
grid.h grid: prefetch cells in grid_row() 2019-07-10 19:52:30 +02:00
input.c cell: pack more efficiently and store glyph as a wchar 2019-08-02 18:19:07 +02:00
input.h input: mouse events 2019-07-05 10:44:57 +02:00
keymap.h keymap: fix sequences for PageDown 2019-07-22 18:45:14 +02:00
LICENSE add license 2019-06-12 20:10:12 +02:00
log.c log: syslog: tag unused function arguments as unused 2019-07-30 21:50:08 +02:00
log.h initial commit: maps an XDG toplevel window 2019-06-12 20:08:54 +02:00
main.c threads: set thread titles 2019-08-01 20:09:16 +02:00
meson.build font: set FT load and render flags from FontConfig properties 2019-07-29 20:10:55 +02:00
osc.c osc: bug: uneven clipboard bytes where not buffered correctly 2019-08-03 21:30:06 +02:00
osc.h ocs: renamed parameter size -> required_size in osc_ensure_size() 2019-07-19 09:56:00 +02:00
PKGBUILD font: load FreeType face, and set it's pixel sizes 2019-07-28 12:09:22 +02:00
render.c cell: pack more efficiently and store glyph as a wchar 2019-08-02 18:19:07 +02:00
render.h wip: initial multithreaded renderer 2019-07-29 20:13:26 +02:00
selection.c cell: pack more efficiently and store glyph as a wchar 2019-08-02 18:19:07 +02:00
selection.h selection: add text_from_clipboard() 2019-07-19 14:20:00 +02:00
shm.c wip: initial multithreaded renderer 2019-07-29 20:13:26 +02:00
shm.h wip: initial multithreaded renderer 2019-07-29 20:13:26 +02:00
slave.c main: allow user to override shell on the command line 2019-07-17 09:55:36 +02:00
slave.h main: allow user to override shell on the command line 2019-07-17 09:55:36 +02:00
terminal.c term: cell erase: reset *all* attributes *except* background 2019-08-03 19:26:02 +02:00
terminal.h cell: pack more efficiently and store glyph as a wchar 2019-08-02 18:19:07 +02:00
tllist.h initial commit: maps an XDG toplevel window 2019-06-12 20:08:54 +02:00
tokenize.c slave: break out command line tokenizer 2019-07-17 09:46:45 +02:00
tokenize.h slave: break out command line tokenizer 2019-07-17 09:46:45 +02:00
vt.c cell: pack more efficiently and store glyph as a wchar 2019-08-02 18:19:07 +02:00
vt.h vt: add vt_to_slave() 2019-07-15 15:42:00 +02:00