A fast, lightweight and minimalistic Wayland terminal emulator
Find a file
Daniel Eklöf bcd111d203
wip: initial scroll back support
Can scroll up and down, and stops when the beginning/end of history is
reached.

However, it probably breaks when the entire scrollback buffer has been
filled - we need to detect when the view has wrapped around to the
current terminal offset.

The detection of when we've reached the bottom of the history is also
flawed, and only works when we overshoot the bottom with at least a
page.

Resizing the windows while in a view most likely doesn't work.

The view will not detect a wrapped around scrollback buffer. I.e. if
the user has scrolled back, and is stationary at a view, but there is
still output being produced. Then eventually the scrollback buffer
will wrap around. In this case, the correct thing to do is make the
view start following the beginning of the history. Right now it
doesn't, meaning once the scrollback buffer wraps around, you'll start
seeing command output...
2019-07-09 16:26:36 +02:00
.gitignore initial commit: maps an XDG toplevel window 2019-06-12 20:08:54 +02:00
commands.c wip: initial scroll back support 2019-07-09 16:26:36 +02:00
commands.h wip: initial scroll back support 2019-07-09 16:26:36 +02:00
csi.c terminal: rename and redefine cursor keys mode and keypad keys mode 2019-07-09 11:07:06 +02:00
csi.h performance improvements 2019-07-07 16:32:18 +02:00
font.c initial grid implementation 2019-06-13 16:24:35 +02:00
font.h initial grid implementation 2019-06-13 16:24:35 +02:00
grid.c wip: grid is now represented as a grid, not a linear array 2019-07-08 13:57:31 +02:00
grid.h wip: initial scroll back support 2019-07-09 16:26:36 +02:00
input.c wip: initial scroll back support 2019-07-09 16:26:36 +02:00
input.h input: mouse events 2019-07-05 10:44:57 +02:00
keymap.h input: fix backspace escape sequences 2019-07-09 15:09:44 +02:00
LICENSE add license 2019-06-12 20:10:12 +02:00
log.c log: don't syslog 2019-06-29 20:48:02 +02:00
log.h initial commit: maps an XDG toplevel window 2019-06-12 20:08:54 +02:00
main.c terminal: rename and redefine cursor keys mode and keypad keys mode 2019-07-09 11:07:06 +02:00
meson.build wip: initial scroll back support 2019-07-09 16:26:36 +02:00
osc.c performance improvements 2019-07-07 16:32:18 +02:00
osc.h performance improvements 2019-07-07 16:32:18 +02:00
render.c wip: initial scroll back support 2019-07-09 16:26:36 +02:00
render.h render: load cursor theme from XCURSOR_THEME and XCURSOR_SIZE 2019-07-05 10:44:09 +02:00
shm.c shm: width/height must match 2019-06-12 20:17:35 +02:00
shm.h initial commit: maps an XDG toplevel window 2019-06-12 20:08:54 +02:00
slave.c logging: disable debug logging by default 2019-07-03 20:21:03 +02:00
slave.h Set up pseudo terminal and fork slave 2019-06-13 15:19:10 +02:00
terminal.c wip: initial scroll back support 2019-07-09 16:26:36 +02:00
terminal.h wip: initial scroll back support 2019-07-09 16:26:36 +02:00
tllist.h initial commit: maps an XDG toplevel window 2019-06-12 20:08:54 +02:00
vt.c input: implement keypad application mode 2019-07-09 14:27:26 +02:00
vt.h wip: vt parsing: initial csi/osc dispatching 2019-06-15 22:22:44 +02:00