Commit graph

  • b9bd637021
    csi: SGR mouse tracking *is* implemented Daniel Eklöf 2019-07-05 15:58:02 +02:00
  • fd25018cdd
    render: fill area outside the cell grid with default bg color Daniel Eklöf 2019-07-05 15:53:53 +02:00
  • 1b07015d49
    term: implement MOUSE_SGR mouse event reporting style Daniel Eklöf 2019-07-05 15:29:16 +02:00
  • a959c89b7f
    input: bug: row is calculated from the cell *height*, not width Daniel Eklöf 2019-07-05 15:28:39 +02:00
  • 1610828b8c
    vt: add support for mouse motion reports Daniel Eklöf 2019-07-05 15:13:06 +02:00
  • e5fc266cdb
    vt: add support for \E[?1000h - report mouse button events Daniel Eklöf 2019-07-05 14:24:51 +02:00
  • a102ff09f9
    input: mouse events Daniel Eklöf 2019-07-05 10:44:57 +02:00
  • 1a341a56cc
    render: load cursor theme from XCURSOR_THEME and XCURSOR_SIZE Daniel Eklöf 2019-07-05 10:44:09 +02:00
  • 1947d33868
    render: break out rendering functions to render.{c,h} Daniel Eklöf 2019-07-05 10:16:56 +02:00
  • 3ba1721c0f
    osc: implement change window title and icon Daniel Eklöf 2019-07-05 09:46:48 +02:00
  • 998ce52b7e
    render: bump number of glyphs we can render in a single call Daniel Eklöf 2019-07-05 09:31:03 +02:00
  • 19cef74153
    main: it's not the terminal emulators job to set LINES and COLUMNS Daniel Eklöf 2019-07-05 09:21:12 +02:00
  • 488ad5dc77
    csi: manually erase alt screen when switching to it Daniel Eklöf 2019-07-05 09:09:58 +02:00
  • c5fdc13ea4
    term_erase(): erased cells get the currently selected background color Daniel Eklöf 2019-07-05 09:09:28 +02:00
  • 28d05a5528
    main: initialize colors in VT state Daniel Eklöf 2019-07-05 09:08:58 +02:00
  • 8091f7c781
    render: force a full redraw when we cannot reuse last buffer Daniel Eklöf 2019-07-05 08:53:48 +02:00
  • 4a35aa9724
    resize: cursor reset was off-by-one when cursor was outside new size Daniel Eklöf 2019-07-04 19:56:50 +02:00
  • 1c737fa7bd
    resize: re-align grid offset Daniel Eklöf 2019-07-04 19:56:27 +02:00
  • 669ef1a07a
    csi: implement CSI S and CSI T (scroll up/down) Daniel Eklöf 2019-07-04 19:39:23 +02:00
  • befb437411
    vt: improve logging of invalid and unimplemented sequences Daniel Eklöf 2019-07-04 19:35:01 +02:00
  • cb10d10fd8
    vt: implement save/restore cursor+attributes Daniel Eklöf 2019-07-04 19:23:25 +02:00
  • aad4db29c2
    vt: handle graphical charset mode when printing a character Daniel Eklöf 2019-07-04 19:17:42 +02:00
  • ea6e06d689
    vt: track charsets G0-G3 and support either ASCII or graphical mode Daniel Eklöf 2019-07-04 19:17:18 +02:00
  • dd5a3b1009
    main: handle EINTR in poll() Daniel Eklöf 2019-07-04 19:16:32 +02:00
  • 50d455bd15
    csi: ignore 'blinking cursor' private mode Daniel Eklöf 2019-07-04 10:04:52 +02:00
  • 0457c33418
    csi: fix parsing of 256-color and 24-bit color SGRs Daniel Eklöf 2019-07-04 09:57:02 +02:00
  • ef944933e6
    flash mitigation: add a small delay before rendering after receiving client data Daniel Eklöf 2019-07-04 09:54:40 +02:00
  • 03ca7a04ab
    main: more zenburn:ish default foreground and background colors Daniel Eklöf 2019-07-04 09:27:06 +02:00
  • a191d98d09
    vt: bug fix: clear utf-8 state after printing a utf-8 character Daniel Eklöf 2019-07-04 09:26:34 +02:00
  • 9f12bca21e
    Merge branch 'fast-scroll' Daniel Eklöf 2019-07-03 22:30:00 +02:00
  • 35d5035f61
    csi: fix bug: cursor horizontal absolute (<ESC> Pn G) was off-by-one Daniel Eklöf 2019-07-03 22:21:44 +02:00
  • 2f3f4ac56f
    csi: cleanup Daniel Eklöf 2019-07-03 22:21:23 +02:00
  • 3d58d24963
    csi: ?r and ?s are like ?h and ?l; they save/restore things Daniel Eklöf 2019-07-03 21:33:23 +02:00
  • 3c67628c57
    vt: implement (untested!) smam and rmam (auto margins) Daniel Eklöf 2019-07-03 21:18:06 +02:00
  • 90dadfcc22
    vt: implement (untested!) insert mode Daniel Eklöf 2019-07-03 21:16:41 +02:00
  • 1373d18dbc
    logging: disable debug logging by default Daniel Eklöf 2019-07-03 20:21:03 +02:00
  • 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