aboutsummaryrefslogtreecommitdiff
path: root/foot.info (follow)
Commit message (Collapse)AuthorAgeLines
* terminfo: add status line capabilities: hs, dsl, fsl and tslDaniel Eklöf2020-12-18-0/+4
| | | | | | | | | * hs - boolean, signals status line availability * tsl - to_status_line: begin an OSC 2 sequence (set window title) * fsl - from_status_line: OSC terminator * dsl - disable status line: \E]2;\E\\ - clears the window title Closes #242
* csi: fix sub-parameter versions of 38/48 SGR escapesDaniel Eklöf2020-12-12-4/+4
| | | | | | | | | | | | | | | | | | | Well this is embarrassing; the sub-parameter versions of the 38/48 SGR escapes all required an extra ‘:2’ that wasn’t supposed to be there, causing all the other sub-parameters to be shifted one step to the right. That is, foot expected e.g. 38:2:2:r:g:b, or 38:2:5:idx when the correct sequences are 38:2:cs:r:g:b and 38:5:idx. I.e. I mixed up the color-space ID (cs) of 38:2 with *type* of color: RGB or indexed. In addition to fixing this, this patch also adds support for a “bastard” version of the sub-parameter based RGB escapes, where the color-space identifier has been left out: e.g. 38:2:r:g:b. This sequence is invalid, but applications tend to “forget” the color-space ID...
* term: enable reverse wrap-around by defaultDaniel Eklöf2020-10-06-0/+1
| | | | | Since we’re now doing reverse auto-wrapping by default, we add ‘bw’ (‘auto_left_margin’)to terminfo.
* csi: '\E[0 q' resets the cursor style to the default, not '\E[2 q'Daniel Eklöf2020-06-30-1/+1
| | | | Also update 'Se' capability in the terminfo, to reflect this.
* terminfo: add remaining keypad keysDaniel Eklöf2020-06-27-0/+12
|
* terminfo: add ka1, ka3, kc1 and kc3 (upper/lower left/right keypad keys)Daniel Eklöf2020-06-27-0/+4
|
* terminfo: kb2 (center keypad key) should be \EOu, not \EOEDaniel Eklöf2020-06-27-1/+1
|
* terminfo: put 'cvvis' on a separate lineDaniel Eklöf2020-05-25-1/+2
|
* terminfo: add tmux extension 'Sync' - indicates 'Synchronized Updates' supportDaniel Eklöf2020-05-16-0/+1
|
* terminfo: foot: setaf/b: use colon-separated variantDaniel Eklöf2020-04-08-2/+2
|
* terminfo: foot-direct: setaf/b: set color space to '2' (RGB)Daniel Eklöf2020-04-08-2/+2
|
* terminfo: use ST, not BEL as OSC terminatorDaniel Eklöf2020-01-23-5/+5
|
* terminfo: sortDaniel Eklöf2020-01-20-15/+15
|
* terminfo: add 'oc' (orig colors)Daniel Eklöf2020-01-20-0/+1
| | | | | We already had the functionality, we just didn't expose it in the terminfo.
* input: implement metaSendsEscape and eightBitMetaDaniel Eklöf2020-01-20-0/+2
|
* csi: implement REP - CSI Ps bDaniel Eklöf2020-01-20-0/+1
|
* osc: implement OSC 12 and OSC 112 (set/reset text cursor color)Daniel Eklöf2020-01-20-0/+2
|
* terminfo: set RGB flag in foot-directDaniel Eklöf2019-12-26-0/+1
|
* terminfo: add tab stop related entries, hts and tbcDaniel Eklöf2019-11-18-0/+2
| | | | | hts - Horizontal Tab Set (?) tbc - Tab Clear
* osc: implement "change color" commandsDaniel Eklöf2019-08-21-0/+2
| | | | | | | | | | | This implements OSC 4, 10, 11 - change <color>/foreground/background, and their corresponding 'query' variant (which was already implemented for OSC 10/11). It also implements OSC 104, 110, 111 - reset <color>/foreground/background. Set corresponding terminfo entries to signal this support to clients.
* csi: implement \E[Z - back tabDaniel Eklöf2019-07-22-1/+2
|
* csi: *sigh* looks like e.g. neovim doesn't respect SeDaniel Eklöf2019-07-22-1/+1
| | | | | | | | I.e. it issues a \E[2 q regardless of what we've configured the terminfo Se entry to. So, make \E[2 q mean "the user configured cursor style" (which defaults to 'block').
* csi: let CSI 0 q mean "switch to user configured cursor style"Daniel Eklöf2019-07-22-1/+1
| | | | | | | | According to the specs, \E[0 q means a blinking block cursor. However, since it also states that \E[1 q *also* is a blinking block cursor, and that it is the default, *and* given that fact that parameter-less CSIs typically means "reset", let's make it mean "reset to the user configured cursor style".
* flash: convert our own 'flash' from a CSI to an OSCDaniel Eklöf2019-07-22-1/+1
|
* csi: implement CSI 3J - erase scroll backDaniel Eklöf2019-07-22-0/+1
|
* terminfo: add key sequences for keys with modifiersDaniel Eklöf2019-07-22-6/+58
|
* terminfo: add Se/Ss - describes how to change cursor styleDaniel Eklöf2019-07-22-0/+2
|
* terminfo: add Ms - modify selection/clipboardDaniel Eklöf2019-07-22-0/+1
|
* terminfo: add smxx/rmxx - describes strikeout/crossed-outDaniel Eklöf2019-07-22-0/+2
|
* terminfo: set XT (screen) - we understand OSC and mouse trackingDaniel Eklöf2019-07-22-0/+1
|
* terminfo: set AX (screen) - we understand CSI 39/49mDaniel Eklöf2019-07-22-0/+1
|
* terminfo: revert kmous to \E[MDaniel Eklöf2019-07-21-2/+10
| | | | | ncurses disables mouse support completely if kmous != \E[M. Now, since kmous *has* to match XM, this means we must also disable XM.
* terminfo: since we now expose our SGR cap, set kmous=\E<Daniel Eklöf2019-07-21-1/+1
|
* terminfo: add XM (mouse initialization)Daniel Eklöf2019-07-21-1/+1
|
* flash: implement 'flash'Daniel Eklöf2019-07-21-1/+1
| | | | | | | | | | Use our own escape sequence for the 'flash' terminfo entry. Implemented by arming a timer FD and setting a boolean that indicates we're currently "flashing". The renderer draws a semi-transparent yellowish layer over the entire window when "flashing" is active.
* csi: implement CSI 22t and CSI 23tDaniel Eklöf2019-07-21-2/+2
| | | | | | | | | | | 22;0|1|2t pushes the current window title/icon to the stack, while 23 pops it. The second parameter, 0|1|2 has the following meaning: 0 - push/pop icon+title 1 - push/pop icon 2 - push/pop title
* terminfo: change kmous to \E[M. This fixes mouse not working in e.g. htopDaniel Eklöf2019-07-18-1/+1
|
* terminfo: intitial terminfo specificationDaniel Eklöf2019-07-18-0/+182