Commit graph

  • df5be1061d
    vt: recognize ESC(0 - switch character set Daniel Eklöf 2019-07-03 16:21:26 +02:00
  • bf78150157
    vt: always log unimplemented as warnings, not errors Daniel Eklöf 2019-07-03 16:21:09 +02:00
  • cfd39c0967
    vt: fix logging of ESC intermediates and parameters Daniel Eklöf 2019-07-03 16:20:28 +02:00
  • b5dccf2883
    csi: add unknown private escapes 's' and 'r', seen with ncmpcpp Daniel Eklöf 2019-07-03 16:00:27 +02:00
  • 43045a98e2
    csi: recognize ?1005 and ?1015 private CSIs Daniel Eklöf 2019-07-03 16:00:06 +02:00
  • f4c3343382
    csi: fix cursor positioning Daniel Eklöf 2019-07-03 15:59:28 +02:00
  • 66033b9b1a
    csi: implement 'erase characters' (CSI X) Daniel Eklöf 2019-07-03 15:58:49 +02:00
  • f87d4f856a
    main: mitigate screen flashes on slow client Daniel Eklöf 2019-07-03 15:16:38 +02:00
  • a0602aedb5
    csi: recognize 'smam', but log unimplemented Daniel Eklöf 2019-07-03 14:47:34 +02:00
  • 92f0d64279
    csi: add untested implementation of "horizontal index" Daniel Eklöf 2019-07-03 14:47:01 +02:00
  • 2fad8138e1
    csi: scroll region changes are now logged as debug again, rather than info Daniel Eklöf 2019-07-03 14:24:46 +02:00
  • da305abdd8
    scrolling: initial implementation of scrolling region when reverse scrolling Daniel Eklöf 2019-07-03 14:16:01 +02:00
  • 1f343527f0
    scrolling: make sure we don't clear too much memory Daniel Eklöf 2019-07-03 14:15:46 +02:00
  • 70743fddf4
    scrolling: hopefully fix bad damage update of items outside scrolling region Daniel Eklöf 2019-07-03 14:15:23 +02:00
  • 5e8c75aa38
    csi: implement 'civis' (show/hide cursor) Daniel Eklöf 2019-07-03 14:14:46 +02:00
  • a7a28ff581
    scrolling: initial reverse scrolling support - no scroll regions Daniel Eklöf 2019-07-03 10:45:49 +02:00
  • 048f619b19
    render: fix last-cursor comparison Daniel Eklöf 2019-07-03 09:46:39 +02:00
  • 2bca2a894e
    main: add --font/-f command line option Daniel Eklöf 2019-07-03 09:46:13 +02:00
  • e6c27645fa
    term: optimize damage list after scroll Daniel Eklöf 2019-07-03 09:23:42 +02:00
  • 0fef48c1fd
    csi: up to application to restore scroll region on alt switch? Daniel Eklöf 2019-07-03 08:37:16 +02:00
  • dfaa5f5640
    main: make sure cursor is inside the new row/col limits on resize Daniel Eklöf 2019-07-02 22:32:25 +02:00
  • d5158b2432
    render: track last cursor position in absolute values Daniel Eklöf 2019-07-02 22:31:52 +02:00
  • 8ed7239458
    csi: re-set cursor when switching between alt and normal screen Daniel Eklöf 2019-07-02 22:23:54 +02:00
  • cc2931007c
    csi: repair DCH (delete character) Daniel Eklöf 2019-07-02 22:19:43 +02:00
  • 9682e15deb
    term: "cache" pointer to current line Daniel Eklöf 2019-07-02 22:18:25 +02:00
  • ed68eafdf0
    vt: simplify CLEAR action; don't memset() more than necessary Daniel Eklöf 2019-07-02 21:44:58 +02:00
  • dd4647e9ff
    term: simplify horizontal cursor movement Daniel Eklöf 2019-07-02 21:43:49 +02:00
  • e17d297dca
    term: if the damage list gets too long, replace with a full redraw Daniel Eklöf 2019-07-02 19:45:17 +02:00
  • d04029d703
    render: revert glyph caching Daniel Eklöf 2019-07-02 19:44:02 +02:00
  • 607df23a92
    render: fix cursor not always being rendered Daniel Eklöf 2019-07-02 12:51:43 +02:00
  • 9392cfbbf3
    render: draw pre-rendered glyph OVER background Daniel Eklöf 2019-07-02 12:50:18 +02:00
  • 3d8e140a28
    render: cache glyph masks Daniel Eklöf 2019-07-02 12:22:05 +02:00
  • e6d9eb7c9e
    main: log resize event as INFO Daniel Eklöf 2019-07-01 21:15:06 +02:00
  • 4b824d824c
    term: 'end' variable is only used in assert() Daniel Eklöf 2019-07-01 21:14:31 +02:00
  • 0954ffdf22
    vt: no need to clear temporary utf8 buffer after printing it Daniel Eklöf 2019-07-01 21:14:07 +02:00
  • dfc9554e89
    render: always render cursor Daniel Eklöf 2019-07-01 21:13:24 +02:00
  • 7e4dd2de9a
    csi: clear all existing alt damage when switch alt <--> normal Daniel Eklöf 2019-07-01 19:25:04 +02:00
  • ee476a7e5a
    csi: erase alt screen when enabling it Daniel Eklöf 2019-07-01 19:23:31 +02:00
  • 24395cf4cd
    scrolling: implement partial scrolling Daniel Eklöf 2019-07-01 19:20:21 +02:00
  • 63e46b7b0b
    render: use actual grid size when re-allocating grid buffer Daniel Eklöf 2019-07-01 19:19:48 +02:00
  • c853f01027
    render: re-enable drawing cursor on erase Daniel Eklöf 2019-07-01 19:19:32 +02:00
  • 482f56b4a2
    grid: implement a memmove-sort-of function Daniel Eklöf 2019-07-01 19:18:52 +02:00
  • b45b492f41
    csi: DECSTBM: move cursor to top left corner of scrolling region Daniel Eklöf 2019-07-01 19:13:45 +02:00
  • d70956da08
    wip: use a sliding window instead of memmove() to scroll Daniel Eklöf 2019-07-01 12:23:38 +02:00
  • 9e3b8ab3ff
    vt: only prep logging of CSI/ESC parameters when debug logging is enabled Daniel Eklöf 2019-07-01 12:21:25 +02:00
  • 0f48b4f8f7
    terminal: prepare for floating grids Daniel Eklöf 2019-06-29 21:23:36 +02:00
  • 8cff861f38
    terminal: move print_needs_wrap from grid to terminal Daniel Eklöf 2019-06-29 21:16:06 +02:00
  • a8f4cb55af
    terminal: move cursor from grid to terminal Daniel Eklöf 2019-06-29 21:15:32 +02:00
  • 8723098cda
    terminal: move fore/background colors from grid to terminal Daniel Eklöf 2019-06-29 21:09:58 +02:00
  • 3d2ab03f62
    terminal: move col/row count, cell width/height and scroll region to terminal Daniel Eklöf 2019-06-29 21:08:08 +02:00
  • 1ecd4a6ae1
    Rename grid_* functions to term_* Daniel Eklöf 2019-06-29 21:03:28 +02:00
  • e2bdda8c61
    render: don't try to render glyph for empty cell(s) Daniel Eklöf 2019-06-29 20:50:40 +02:00
  • 28f7ab5130
    main: increase ptmx slave buffer size Daniel Eklöf 2019-06-29 20:50:27 +02:00
  • 23a133a64a
    render: alignment Daniel Eklöf 2019-06-29 20:50:21 +02:00
  • b59b03fd07
    render: also check scroll damage list Daniel Eklöf 2019-06-29 20:50:09 +02:00
  • 34fb86724f
    slave: remove initial debug code Daniel Eklöf 2019-06-29 20:49:35 +02:00
  • ed867a78bb
    vt: dummy implementation of of "ESC (B" (character charset) Daniel Eklöf 2019-06-29 20:49:00 +02:00
  • 63fb7a9374
    log: don't syslog Daniel Eklöf 2019-06-29 20:48:02 +02:00
  • 1dbddd7155
    colors: store as doubles, rather than uint32_t Daniel Eklöf 2019-06-26 20:33:32 +02:00
  • 54403738bb
    render: use alpha from cell colors Daniel Eklöf 2019-06-26 20:09:02 +02:00
  • 3349c28fce
    render: avoid division Daniel Eklöf 2019-06-26 20:08:49 +02:00
  • dbd883935b
    vt: execute: implement HT - horizontal tab Daniel Eklöf 2019-06-26 19:58:37 +02:00
  • 3a97fce6d0
    grid: attributes now track whether we've set a foreground/background color Daniel Eklöf 2019-06-26 19:44:31 +02:00
  • 97420f13d8
    scroll: let the render erase the scrolled up region Daniel Eklöf 2019-06-26 19:33:39 +02:00
  • a35738d96f
    scroll-region: don't clear damage queue when changing scroll region Daniel Eklöf 2019-06-25 20:11:08 +02:00
  • 0f76f4190a
    grid: scroll reverse: hopefully done correct now Daniel Eklöf 2019-06-24 20:49:37 +02:00
  • 0e078f44b6
    grid: scroll: fix start/end for erase region Daniel Eklöf 2019-06-24 20:45:14 +02:00
  • e7043c8a6d
    csi: fix scrolling region end Daniel Eklöf 2019-06-24 20:44:29 +02:00
  • 5b53fda5e6
    csi: add function param_get() Daniel Eklöf 2019-06-24 20:17:02 +02:00
  • da0a65d499
    csi: implement cursor horizontal absolute Daniel Eklöf 2019-06-24 20:08:44 +02:00
  • 637820bef5
    csi: implement VPR (vertical line position relative) Daniel Eklöf 2019-06-24 20:05:31 +02:00
  • d4b6bc77d5
    csi: VPA: saturate row Daniel Eklöf 2019-06-24 20:05:24 +02:00
  • 86519f93ba
    csi: implement "send device attributes" Daniel Eklöf 2019-06-24 20:01:41 +02:00
  • 722c2e7ed2
    csi: recognize a bunch of ?h/l commands, log unimplemented Daniel Eklöf 2019-06-24 20:01:12 +02:00
  • 0cf1253ac0
    csi: implement VPA (vertical line position absolute) Daniel Eklöf 2019-06-24 19:59:54 +02:00
  • 44206b49d4
    csi: saturate row/col when setting cursor position Daniel Eklöf 2019-06-24 19:40:00 +02:00
  • 2b3f3711fc
    TIOCSWINSZ: fix alignment and spelling Daniel Eklöf 2019-06-24 19:39:31 +02:00
  • 7fb0c4b342
    csi: fix cursor request response; add 1, not 2 Daniel Eklöf 2019-06-24 19:03:19 +02:00
  • 2fe7145aff
    scrolling region: wip Daniel Eklöf 2019-06-23 21:12:32 +02:00
  • 7cc9be01f4
    csi: recognize, but do nothing, for civis, cvvis Daniel Eklöf 2019-06-23 18:17:58 +02:00
  • ec9b343550
    csi: implement cursor query and respones Daniel Eklöf 2019-06-23 18:17:36 +02:00
  • b0a2c54fe8
    vt: wip: implement scrolling region Daniel Eklöf 2019-06-23 18:02:49 +02:00
  • 7183b2f0fe
    csi/vt: fix logging of intermediate characters Daniel Eklöf 2019-06-23 17:17:47 +02:00
  • fbf0db621c
    vt: implement reverse scrolling (terminfo 'ri') Daniel Eklöf 2019-06-23 17:16:52 +02:00
  • c0a9f9e6b2
    resize: bug: we're not in alt screen mode at startup Daniel Eklöf 2019-06-23 17:14:46 +02:00
  • de7dcf1a5c
    csi: save and restore cursor when switching to and from alt screen Daniel Eklöf 2019-06-23 15:03:06 +02:00
  • 199e4aa044
    vt: initial implementation of alt screen + 256 colors Daniel Eklöf 2019-06-23 15:00:27 +02:00
  • 35e5fa1f76
    vt: implement DECCKM (cursor key sends either SS3 or CSI escapes) Daniel Eklöf 2019-06-23 14:12:20 +02:00
  • 9e47c89880
    csi: implement 'CSI H' (set cursor position) Daniel Eklöf 2019-06-23 14:11:35 +02:00
  • 1ad9d118c2
    vt: dummy implementation of ESC dispatch Daniel Eklöf 2019-06-23 13:36:20 +02:00
  • 1414639b76
    csi: include intermediates in debug logging Daniel Eklöf 2019-06-23 13:36:13 +02:00
  • 949847a35a
    vt: add all (?) missing states, actions and transitions Daniel Eklöf 2019-06-23 13:28:55 +02:00
  • 15b29ecb49
    vt: add missing entry action for ESCAPE Daniel Eklöf 2019-06-22 22:27:20 +02:00
  • 308bcb0233
    vt: add missing transition from state ESCAPE -> CSI DISPATCH Daniel Eklöf 2019-06-22 22:26:57 +02:00
  • 6aba78a145
    csi: wip: recognize the private CSIs for bracketed paste, smcup/rmxup, smkx/rmkx Daniel Eklöf 2019-06-22 22:25:50 +02:00
  • 7998ce9ee4
    csi: remove commented out debug logging Daniel Eklöf 2019-06-22 22:25:19 +02:00
  • 5698d69890
    render: implement 'reverse' attribute Daniel Eklöf 2019-06-22 21:42:44 +02:00
  • 7ec746e826
    render: implement 'conceal' attribute Daniel Eklöf 2019-06-22 21:39:11 +02:00
  • 9c9ad48745
    csi: sgr: treat CSI[m as CSI[0m (SGR reset) Daniel Eklöf 2019-06-22 21:38:47 +02:00
  • 4b6ea810fc
    main: implement bold+italic fonts Daniel Eklöf 2019-06-22 21:32:51 +02:00