diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-11-16 09:54:21 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-11-16 09:54:21 +0000 |
| commit | f91073c362d55ba82c64e977300a1230be076ffd (patch) | |
| tree | 0a432cb82e68e5de256a2a2700295185981d7aac /terminal.c | |
| parent | vt: DECALN: render at bottom of terminal, not in view (diff) | |
term: add tab-stop list to terminal struct
This list is intended to store tab stop columns
Diffstat (limited to 'terminal.c')
| -rw-r--r-- | terminal.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -504,6 +504,7 @@ term_init(const struct config *conf, struct fdm *fdm, struct wayland *wayl, .normal = {.damage = tll_init(), .scroll_damage = tll_init()}, .alt = {.damage = tll_init(), .scroll_damage = tll_init()}, .grid = &term->normal, + .tab_stops = tll_init(), .wl = wayl, .render = { .scrollback_lines = conf->scrollback_lines, @@ -727,6 +728,7 @@ term_destroy(struct terminal *term) tll_foreach(term->ptmx_buffer, it) free(it->item.data); tll_free(term->ptmx_buffer); + tll_free(term->tab_stops); int ret = EXIT_SUCCESS; |
