aboutsummaryrefslogtreecommitdiff
path: root/CHANGELOG.md (follow)
Commit message (Collapse)AuthorAgeLines
* changelog: prepare for 1.8.0Daniel Eklöf2021-06-25-3/+2
|
* changelog: spelling; add missing ‘l’ in ‘experimental’Daniel Eklöf2021-06-24-1/+1
|
* changelog: describe what (does not) happens when grapheme-shaping=noDaniel Eklöf2021-06-24-0/+5
|
* changelog: composed -> combiningDaniel Eklöf2021-06-24-2/+2
|
* changelog: put emphasis on ‘opt-in’ as wellDaniel Eklöf2021-06-24-1/+1
|
* changelog: updates to “grapheme shaping”Daniel Eklöf2021-06-24-4/+9
|
* changelog: add a “grapheme shaping” sectionDaniel Eklöf2021-06-24-0/+53
|
* changelog: -Dterminfo-install-location meson command line optionDaniel Eklöf2021-06-23-0/+2
|
* changelog: add ref to #600 (-o,--override for footclient)Daniel Eklöf2021-06-23-1/+2
|
* wayland: apply CSD/SSD changes in the surface configure eventDaniel Eklöf2021-06-23-0/+1
| | | | | | | | | | | | | | | | | | The configure event asks the client to change its decoration mode. The configured state should not be applied immediately. Clients must send an ack_configure in response to this event. See xdg_surface.configure and xdg_surface.ack_configure for details. In particular, ”the configured state should *not* be applied immediately”. Instead, treat CSD/SSD changes like all other window dimension related changes: store the to-be mode in win->configure, and apply it in the surface configure event. This fixes an issue where foot incorrectly resized the window when the server switched between CSD/SSD at run-time.
* config: add csd.button-color optionDaniel Eklöf2021-06-20-0/+1
| | | | | | | | This option controls the foreground color of the minimize/maximize/close buttons. I.e. the color used to draw the minimize/maximize/close glyphs. It defaults to default background color.
* uri: hostname_is_localhost(): don’t crash if hostname == NULLDaniel Eklöf2021-06-19-0/+1
|
* render: use a timer instead of relying on the frame callback for title update throttlingDaniel Eklöf2021-06-18-0/+2
| | | | | | | | | | | | | | | | | | | | | Using the frame callback works most of the time, but e.g. Sway doesn’t call it while the window is hidden, and thus prevents us from updating the title in e.g. stacked views. This patch uses a timer FD instead. We store a timestamp from when the title was last updated. When the application wants to update the title, we first check if we already have a timer running, and if so, does nothing. If no timer is running, check the timestamp. If enough time has passed, update the title immediately. If not, instantiate a timer and wait for it to trigger. Set the minimum time between two updates to ~8ms (twice per frame, for a 60Hz output, and ~once per frame on a 120Hz output). Closes #591
* config: add underline-offset optionDaniel Eklöf2021-06-17-0/+2
| | | | | | | | This option allows the user to configure a custom underline offset. That is, use the user provided offset instead of the font provided one. Closes #490
* search: don’t crash when we don’t have any XKB compose stateDaniel Eklöf2021-06-16-0/+2
|
* csi: implement XTVERSION (CSI > 0q)Daniel Eklöf2021-06-13-0/+3
| | | | | | | | | | | | This is a fairly new XTerm extension. The reply is on the format: DCS > | text ST XTerm replies with ‘text’ = “XTerm(366)”. Foot replies with ‘text’ = “foot(1.6.4)” Closes #359
* Override options from command lineRyan Farley2021-06-12-0/+2
| | | | | | | | | Allow any configuration option to be overridden with -o/--override 'section.key=value' arguments, as suggested in #554 update completitions for override slight refactoring to ease footclient support
* config: demote “no configuration found, using defaults” to a mere warningDaniel Eklöf2021-06-10-0/+3
| | | | | And don’t notify the user in the terminal window, only log it on stderr.
* term: free the data associated with the pixman image when destroying box-drawing glyphsDaniel Eklöf2021-06-09-0/+3
| | | | Closes #586
* selection: add support for TEXT/STRING/UTF8_STRING mime-types in incoming offersDaniel Eklöf2021-06-09-0/+2
| | | | | | | | | We were already offering these mime types for our own clipboard data, but ignored them in incoming offers. Fixes paste issues from Geany. Closes #583
* Merge branch 'charset-shift-fixes'Craig Barnes2021-06-09-0/+4
|\
| * changelog: add issue links for previous 2 entriesCraig Barnes2021-06-09-2/+3
| |
| * vt: fix SS2/SS3 escape sequences to act correctly as single shiftsCraig Barnes2021-06-08-0/+2
| | | | | | | | | | | | These sequences are supposed to affect the next printable ASCII character and then reset to the previous character set, but before this commit they were behaving like locking shifts.
| * vt: add support for LS2 and LS3 locking shiftsCraig Barnes2021-06-08-0/+1
| |
* | sixel: add support for overlapping sixelsDaniel Eklöf2021-06-09-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Writing a sixel on top of an already existing sixel currently has the following limitations in foot: * The parts of the first sixel that is covered by the new sixel are removed, completely. Even if the new sixel has transparent areas. I.e. writing a transparent sixel on top of another sixel *replaces* the first sixel with the new sixel, instead of layering them on top of each other. * The second sixel erases the first sixel cell-wise. That is, a sixel whose size isn’t a multiple of the cell dimensions will leave unsightly holes in the first sixel. This patch takes care of both issues. The first one is actually the easiest one: all we need to do is calculate the intersection, and blend the two images. To keep things relatively simple, we use the pixman image from the *new* image, and use the ‘OVER_REVERSE’ operation to blend the new image over the old one. That is, the old image is still split into four tiles (top, left, right, bottom), just like before. But instead of throwing away the fifth middle tile, we blend it with the new image. As an optimization, this is only done if the new image has transparency (P1=1). The second problem is solved by detecting when we’re erasing an area from the second image that is larger than the new image. In this case, we enlarge the new image, and copy the old image into the new one. Finally, when we enlarge the new image, there may be areas in the new image that is *not* covered by the old image. These areas are made transparent. The end result is: * Each cell is covered by at *most* 1 sixel image. I.e. the total numbers of sixels are finite. This is important for the ‘mpv --vo=sixel’ use case - we don’t want to end up with thousands of sixels layered on top of each other. * Writing an opaque sixel on top of another sixel has _almost_ zero performance impact. Especially if the two sixels have the same size, so that we don’t have to resize the new image. Again, important for the ‘mpv --vo=sixel’ use case. Closes #562
* | changelog: tabs are preservedDaniel Eklöf2021-06-09-0/+2
|/
* csi: IL+DL: move cursor to column 0Daniel Eklöf2021-06-08-0/+1
| | | | | | | | | This fixes vttest 11.6.6.3 Test non-VT100 -> Test ISO-6429 colors -> Test of VT102-style features with BCE -> Test Insert/Delete Char/Line
* render: reverse video only swaps *default* fg/bgDaniel Eklöf2021-06-08-0/+3
| | | | | | | | | This matches XTerm behavior, and fixes vttest 11.6.6.2: Test non-VT100 -> Test ISO-6429 colors -> Test of VT102-style features with BCE -> Test of screen features
* input: pass through scrollback-* key bindings when alt screen is activwDaniel Eklöf2021-06-04-0/+3
| | | | | | | | | Since the alt screen have no scrollback, all scrollback-* actions are effectively no-ops when the alt screen is active. Make them available to the client application instead. Closes #573
* osc: implement iTerm2’s OSC-9 - desktop notificationsDaniel Eklöf2021-06-04-0/+1
|
* changelog: text reflow performanceDaniel Eklöf2021-06-04-0/+1
|
* slave/spawn: restore SIGHUP handler after fork(), before exec()Daniel Eklöf2021-06-02-0/+1
| | | | | | Foot installs a SIG_IGN handler for SIGHUP. Ignored signals are inherited in sub-processes. Thus, we need to restore it to SIG_DFL before exec:ing.
* grid: don’t cut multi-column chars in half when resizing the alt screenDaniel Eklöf2021-06-02-0/+2
| | | | | | | | When we resize the alt screen, we don’t reflow the text, we simply truncate all the lines. When doing this, make sure we don’t truncate in the middle of a multi-column character.
* url-mode: off-by-one error in end-point column of auto-detected URLsDaniel Eklöf2021-06-02-0/+2
| | | | | | When an auto-detected URL ended *on* the right-most column, the URL endpoint was off by one, resulting in the underline in URL mode being one character short.
* config: add boolean option tweak.pua-double-widthDaniel Eklöf2021-06-01-0/+3
| | | | | | | When enabled, PUA (Private Usage Area) codepoints are always treated as double-width glyphs, regardless of the actual glyph width. Requires allow-overflowing-double-width-glyphs=yes
* selection: pay attention to hard linebreaks when search for word boundariesDaniel Eklöf2021-05-31-0/+2
| | | | | | | | | | | | | | | | | | | Double-clicking on a word in the left or right margin, would line-wrap the selection if there was a non-empty cell in the corresponding right/left margin on the prev/next line. Regardless of whether there was a hard linebreak or not. Script to reprouce: !/bin/bash cols=$(tput cols) printf "%*coo\nbar\n" $((${cols} - 2)) f Run, then double click either “foo” or “bar”. Neither should select the other part. Closes #565
* changelog: add bug ref to ‘environment section added to foot/footclient’Daniel Eklöf2021-05-30-1/+2
|
* doc: add ENVIRONMENT section to foot(1) and footclient(1) man pagesCraig Barnes2021-05-30-0/+2
| | | | Closes #556
* config: add ‘include’ directiveDaniel Eklöf2021-05-28-0/+2
| | | | | | | | | | | | | | | This allows you to include sub-configurations. For example, theme files. The ‘include’ directive is a top-level keyword. I.e. it cannot be used inside sections. * The included file must be specified with an absolute path * The included file is parsed in its own scope * Nested includes are allowed * Multiple include directives are allowed Closes #555
* notify: add ${window-title}Daniel Eklöf2021-05-27-0/+1
|
* config: notify: change default value to use ${app-id}Daniel Eklöf2021-05-27-0/+2
| | | | | Make the default value of ‘notify’ use ${app-id} for icon and application name.
* term: fix crash when an OSC-8 URI wraps around the scrollbackDaniel Eklöf2021-05-26-0/+2
| | | | | | | | | | | | | | | | Long OSC-8 URIs, that are split up over multiple rows, are handled by emitting one URI range on each row the URL touches. This was done by initializing a row index variable, and then incrementing it each loop iteration. This caused an out-of-bounds array access when the row index reached the maximum number of scrollback lines. The fix is simple: make sure the row index variable wraps around, instead of incrementing without any bounds. Closes #552
* changelog: fixed mod+shift+tab regressionDaniel Eklöf2021-05-26-0/+3
|
* Merge branch 'ctrl-c-cancel'Craig Barnes2021-05-25-0/+1
|\
| * config: bind ctrl+c to "cancel" in search/url mode by defaultCraig Barnes2021-05-25-0/+1
| | | | | | | | Closes #544
* | wayland: roundtrip: log error and abort when wl_display_roundtrip() failsDaniel Eklöf2021-05-25-0/+3
|/ | | | | | | | | | | | | | | | | | | | ayl_roundtrip() has the following code: wl_display_roundtrip(wayl->display); while (wl_display_prepare_read(wayl->display) != 0) wl_display_dispatch_pending(wayl->display); wayl_flush(wayl); If the first wl_display_roundtrip() fails, for example because the Wayland socket has been closed, we may get stuck in the while-loop. This happens if the read queue isn’t empty, in which case wl_display_prepare_read() will return -1 and we’ll continue trying to dispatch the pending events forever, never succeeding since the socket is gone. Closes #542
* url-mode: remove overlapping URLs, not just duplicatesDaniel Eklöf2021-05-22-0/+1
| | | | | | | | | | | | | | | | | echo -e '\e]8;;https://www.foo.bar\e\\https://www.foo\e]8;;\e\\.bar' will produce an OSC-8 URL (https://www.foo) that is slightly shorter than the auto-detected one (https://www.foo.bar). This produces strange results in URL mode. For example, if url.osc8-underline=always, the OSC8 underline will be removed when url-mode is exited. This patch changes the behavior so that auto-detected URLs that overlap OSC-8 URLs are removed. Note that OSC-8 URLs cannot overlap with each other, and that auto-detected URLs also cannot overlap with each other.
* config: add url.protocolsDaniel Eklöf2021-05-22-0/+2
| | | | | | | This makes the protocols recognized by auto-detected URLs configurable. Closes #531
* config: move url-mode related options to a dedicated section, ‘url’Daniel Eklöf2021-05-22-3/+11
|
* config: add cursor.underline-thicknessDaniel Eklöf2021-05-22-0/+2
| | | | | | | | | | | | | Works in pretty much the same way as ‘beam-thickness’, except that the default value is “the font’s underline thickness”. This means, that when unset, the cursor underline thickness scales with the font size. But, when explicitly set, either to a point size value, or a pixel size, it remains fixed at that size. Closes #524
* fdm: always check for signals after epoll_pwait(), not only on EINTRDaniel Eklöf2021-05-21-0/+3
| | | | | | | | | | | | | | | This fixes an issue where we, at least on FreeBSD, sometimes get stuck in epoll_pwait() after the shell has exited. It turned out to be because the SIGCHLD signal was delivered at the same time FDs were made readable/writeable. I.e. epoll_pwait() returned a non-zero value even though it should have been interrupted by the SIGCHLD. To avoid having to search the entire signal array *every time* epoll_pwait() returns, add a flag that is set in the signal handler. This tells the FDM to scan the signal array after returning from epoll_pwait().
* vt: limit maximum value of params in vt_param_get()Craig Barnes2021-05-17-0/+2
| | | | | | | | So that the value is clamped to the range [0, 0x7fffffff] and retains the same value, regardless of whether it's interpreted as a signed or unsigned integer. Closes #522
* changelog: ctrl+w can now be used across linesDaniel Eklöf2021-05-17-0/+2
|
* search: find_next(): proper check for scrollback wrap aroundDaniel Eklöf2021-05-17-0/+1
| | | | | | Besides disallowing matches that crosses the scrollback wrap-around, this also fixes a crash when the trying to search beyond the last output, when the scrollback history hasn’t yet been completely filled.
* changelog: fonts sometimes not being reloaded with the correct scaling factorDaniel Eklöf2021-05-17-0/+3
|
* sixel: don’t *ever* shrink image below its SRA sizeDaniel Eklöf2021-05-16-0/+2
| | | | | | | | | | | | | | If the image was accompanied with a “Set Raster Attributes” (SRA) command, make sure we *never* shrink the image below the size specified in the SRA. Images are normally shrunk when their bottom rows are fully transparent. This enables sixels that aren’t a multiple of 6 to be emitted, without also emitting an SRA command. But if there *is* an SRA command, obey it. Verified against XTerm-367
* changeloge: xdg-activation supportDaniel Eklöf2021-05-14-0/+3
|
* render: force underlines to be visibleDaniel Eklöf2021-05-12-0/+5
| | | | | | | | | | | | | | | In some cases, the underline position (typically provided by the font, mind you), end up below the cell, making it visible. Note that below the cell here means below the line. I.e. the font provided underline position is below the font provided line height... Oh well. Doing this in foot rather than fcft, since other applications typically don’t have to clip the rendered text. Closes #503
* quirk: remove plasma/kwin quirkDaniel Eklöf2021-05-12-0/+4
| | | | | | Older version of Plasma/KWin had an issue where buffer damage recorded before the buffer was attached were ignored. This appears to have been fixed now.
* changelog: improved performance when double bufferingDaniel Eklöf2021-05-12-0/+3
|
* changelog: sixel assertion hit when a sixel fills the scrollbackDaniel Eklöf2021-05-08-0/+2
|
* term: reset: fix reset of the VT structDaniel Eklöf2021-05-08-0/+3
| | | | | | | | | | | | 1. Free buffers and strings 2. memset() the vt struct 3. re-initialize members that must not be zero We _could_ replace the memset() with explicit zeroing of all the members. It’s just that there’s a lot of arrays, so this is much easier. Closes #495
* configure full color palette in foot.iniRyan Farley2021-05-08-0/+2
| | | | | Allow the use of numeric keys in [colors] to configure the full set of 256 colors in the palette. Fixes #489
* Merge branch 'bell-enhancement'Daniel Eklöf2021-05-07-0/+6
|\
| * update changelogRyan Farley2021-05-07-0/+6
| |
* | meson: require fcft >= 2.4Daniel Eklöf2021-05-07-0/+2
|/
* config: fix color cube generationDaniel Eklöf2021-05-06-0/+2
| | | | Closes #479
* box-drawing: add Unicode 13 U+1FB70 - U+1FB8BDaniel Eklöf2021-05-04-0/+3
| | | | Part of #471
* render: only apply alpha when we’re using the default bg for backgroundDaniel Eklöf2021-05-04-0/+2
| | | | | | | | In all other cases, alpha is disabled. This includes: * Palette- or RGB-colors matching the default background color * When any kind of reverse video is enabled (e.g. DECSCNM, or ANSI reverse)
* main/client: change exit codeDaniel Eklöf2021-05-04-3/+3
| | | | | | | | * foot exits with -26/230 * footclient exits with -36/220 This is to give each application a range of exit codes. Currently unused, but we may want to change this in the future.
* foot/footclient: use a custom exit code when foot/footclient fail to runDaniel Eklöf2021-05-04-0/+6
| | | | | | | | | | | | | | | | | | | Normally, foot and footclient uses the exit code from the client application (i.e. the shell). However, foot (or footclient) itself may fail to run; if run outside of a Wayland session, or no fonts are installed, or the client application/shell cannot be found (“foot lsdjfldsjf”) etc. Up until now, there has been no way to differentiate these kind of failures from the client application exiting with code 1. This patch changes foot’s failure exit code to -27/229, and footclient’s to -28/228. Note that footclient will exit with foot’s -27/229 if footclient ran successfully, but the foot server failed to instantiate a new window. Closes #466.
* config: add ‘beam-thickness’ optionDaniel Eklöf2021-04-30-0/+8
| | | | | | | | | | | * Rename cursor.style value ‘bar’ to ‘beam’. ‘bar’ remains recognized, but should eventually be deprecated and then removed. * Add ‘cursor.beam-thickness’ option, a pt-or-px value specifying the thickness of the beam cursor. Defaults to 1.5pt. * Rename (and export) pt_or_px_as_pixels() to term_pt_or_px_as_pixels() * Change term_pt_or_px_as_pixels() to round point values instead of truncating them.
* csi: add support for DECSET 2026, as an alternative to BSU/ESU sequencesCraig Barnes2021-04-25-0/+6
| | | | See: https://gitlab.freedesktop.org/terminal-wg/specifications/-/merge_requests/2#note_847720
* render: modify background color for highlighted text when fg == bgDaniel Eklöf2021-04-24-0/+4
| | | | | | | | When rendering a selected/highlighted cell where the foreground and background colors are the same, invert the background color to make the selected text legible. Closes #455
* render: do render concealed text when it’s highlightedDaniel Eklöf2021-04-23-0/+1
|
* changelog: generate-alt-random-writes.py --sixel fixesDaniel Eklöf2021-04-22-0/+10
|
* Merge branch 'releases/1.7'Daniel Eklöf2021-04-18-3/+12
|\
| * changelog: prepare for 1.7.2Daniel Eklöf2021-04-18-5/+3
| |
| * changelog: add cglogic to ‘contributors’Daniel Eklöf2021-04-18-0/+2
| |
| * config: bold-text-in-bright: add ‘palette-based’ as a special valueDaniel Eklöf2021-04-18-2/+4
| | | | | | | | | | | | | | | | | | When ‘bold-text-in-bright’ is set ‘to palette-based’, colors matching one of the 8 regular palette colors are brightened by using the corresponding bright palette color. Other colors, or all colors if ‘bold-text-in-bright’ is set to ‘yes|true’, are brightened by increasing the luminance.
| * render: brighten: use corresponding bright palette color for base 8 colorsDaniel Eklöf2021-04-18-0/+3
| | | | | | | | | | | | | | | | When brightening one of the 8 base (“regular”) colors, use the corresponding bright palette color, instead of increasing the luminance. Closes #449
| * render: don’t let URL jump label sub-surfaces extend outside window geometryDaniel Eklöf2021-04-18-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We have no guarantee that sub-surfaces extending outside the window geometry are rendered correctly (if at all). For example, both Sway and River will render the window border on top of the sub-surface. Future versions of Sway may clip the sub-surface. Since jump-labels are positioned slightly above, and to the left of the URLs first character, having a label on either the top row, or on the first column, will likely position it outside the window. This is handled by simply setting x/y to 0 (or, to -margin, since the label coordinate is later offsetted with the window margins). Second, if the label is very long, it may extend outside the window. This is very unusual for labels only showing the key, and not the URL itself, but could happen in this case too, if e.g. the user has configured double-width key characters. This is handled by calculating its maximum width, and then truncating the label. Although very unlikely, it is possible for a label to also extend outside the window’s vertical size. This could happen for very small font sizes, where the label’s own margins are large, relative to the font size. This case is currently not handled. Closes #443
| * config: add box-drawings-uses-font-glyphs=no|yes optionDaniel Eklöf2021-04-18-0/+2
| | | | | | | | | | | | | | | | | | When disabled, we render box drawing characters ourselves. This is the default. When enabled, we instead use font glyphs. I.e. no special treatment. Closes #430
| * render: draw underline cursor below text underlineDaniel Eklöf2021-04-18-0/+5
| | | | | | | | | | | | | | This ensures the cursor is visible on cells where the text is underlined. Closes #415
| * changelog: rewrite entry for OSC 17/117/19/119Daniel Eklöf2021-04-18-2/+2
| |
| * changelog: auto_left_margin on cub1 onlyDaniel Eklöf2021-04-18-0/+2
| |
| * osc: implement OSC 17+19: change selection background/foreground colorsDaniel Eklöf2021-04-18-0/+2
| | | | | | | | | | And of course, we also implement the corresponding reset sequences, OSC 117+119.
| * changelog: don’t use a hyphen between ‘OSC’ and the numberDaniel Eklöf2021-04-18-1/+1
| |
| * changelog: tweak wording for URxvt’s XParseColor extensionDaniel Eklöf2021-04-18-1/+1
| |
| * osc: add support for URxvt extension to include alpha in OSC-11Daniel Eklöf2021-04-18-0/+5
| | | | | | | | | | | | | | There are two variants, either using a ‘[percent]’ prefix for legacy colors, or using ‘rgba:r/g/b/a’ instead of ‘rgb:r/g/b’. Closes #436
| * terminal: drain PTY when client terminatesDaniel Eklöf2021-04-18-0/+1
| | | | | | | | | | | | | | | | | | | | This is done by: * Not limiting the number of times we try to read from the PTY when we’ve have POLLHUP * Not requiring the entire the previous read to have filled our buffer. * Not erroring out on EIO.
| * changelog: move OSC-4/104 fix from 1.7.1 to ‘unreleased’Daniel Eklöf2021-04-18-3/+3
| |
| * osc: verify OSC 4/104 color index is validDaniel Eklöf2021-04-18-0/+3
| | | | | | | | Closes #434
| * config: parse_key_binding_section(): use provided action-mapDaniel Eklöf2021-04-18-0/+2
| | | | | | | | | | | | | | | | Don’t call has_key_binding_collisions() with ‘binding_action_map’ unconditionally; use the provided ‘action_map’ instead. This fixes wrong error messages for key combo collisions in key binding sections other than the regular “key-bindings”.
| * sixel: fix double free caused by bad free() in sixel_colors_set()Daniel Eklöf2021-04-18-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sixel_color_set() is called when the number of (sixel) color registers is changed. It frees the current palette, and changes the “palette size” variable. Originally, we only had a single palette. This is the one free:d by sixel_color_set(). Later, we added support for private vs. shared palettes. With this change, we now have one palette that is “never” free:d (the shared one), and a private palette that is always free:d after a sixel has been emitted. ‘sixel.palette’ is a pointer to the palette currently in use, and should only be accessed **while emitting a sixel**. This is the pointer sixel_color_set() free:d. So for example, if ‘sixel.palette’ pointed to the shared palette, we’d free the shared palette. But, we didn’t reset ‘sixel.shared_palette’, causing a double free later on. Closes #427
| * revert: input: do not include consumed modifiers in the set sent to the clientDaniel Eklöf2021-04-18-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There were two issues with it: * Not all applications decode the sequence into a set of modifiers + key, but use a fixed sequence -> combo mapping, that we broke. * There were unforeseen issues with e.g. F1-12, where the modifier were removed from combos like Ctrl+F12, or Alt+F12. The reason is simple; XKB tells us that Ctrl, or Alt, is a consumed modifier. Now, _why_ it thinks that is a different story. This reverts 6cd72bdee6c2b11f7cab15df9afb0ed92a7f8ba0 Closes #425
| * changelog: add new ‘unreleased’ sectionDaniel Eklöf2021-04-18-0/+11
| |
* | changelog: add cglogic to ‘contributors’Daniel Eklöf2021-04-18-0/+2
| |
* | config: bold-text-in-bright: add ‘palette-based’ as a special valueDaniel Eklöf2021-04-17-2/+4
| | | | | | | | | | | | | | | | | | When ‘bold-text-in-bright’ is set ‘to palette-based’, colors matching one of the 8 regular palette colors are brightened by using the corresponding bright palette color. Other colors, or all colors if ‘bold-text-in-bright’ is set to ‘yes|true’, are brightened by increasing the luminance.
* | render: brighten: use corresponding bright palette color for base 8 colorsDaniel Eklöf2021-04-17-0/+3
| | | | | | | | | | | | | | | | When brightening one of the 8 base (“regular”) colors, use the corresponding bright palette color, instead of increasing the luminance. Closes #449