GitHub user darchons opened a pull request:

    https://github.com/apache/guacamole-server/pull/132

    GUACAMOLE-470: Make terminal colors configurable through "color-scheme" 
parameter

    Change the "color-scheme" parameter into a series of semicolon-separated 
name-value pairs, so that individual terminal colors can be configured. For 
example, this configuration changes the terminal to use a "solarized light" 
color scheme:
    
        <param name="color-scheme">
            background: rgb:fd/f6/e3;
            foreground: rgb:65/7b/83;
            color0:     rgb:07/36/42;
            color8:     rgb:00/2b/36;
            color1:     rgb:dc/32/2f;
            color9:     rgb:cb/4b/16;
            color2:     rgb:85/99/00;
            color10:    rgb:58/6e/75;
            color3:     rgb:b5/89/00;
            color11:    rgb:65/7b/83;
            color4:     rgb:26/8b/d2;
            color12:    rgb:83/94/96;
            color5:     rgb:d3/36/82;
            color13:    rgb:6c/71/c4;
            color6:     rgb:2a/a1/98;
            color14:    rgb:93/a1/a1;
            color7:     rgb:ee/e8/d5;
            color15:    rgb:fd/f6/e3;
        </param>
    
    Backward compatibility is preserved by translating previously supported 
values into the corresponding new format (e.g. `gray-black` is translated to 
`foreground: color7; background: color0`).

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/darchons/guacamole-server 
guac-470-configurable-terminal-colors

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/guacamole-server/pull/132.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #132
    
----
commit 4154fac228d0ae855117ce44cf6ef990b9abc3bf
Author: Jim Chen <nchen@...>
Date:   2018-01-10T03:08:13Z

    GUACAMOLE-470: Set palette index for parsed RGB colors.
    
    Parsed RGB colors do not correspond to any palette entry, so set the
    palette index to -1.

commit cdaceb0d94a412de177dd3b19c6ceb6b4b6fd7fb
Author: Jim Chen <nchen@...>
Date:   2018-01-10T03:14:56Z

    GUACAMOLE-470: Add support for configurable default palette.
    
    Add support for configuring a default palette for a terminal display.
    When the default palette is specified during display creation, that
    palette is used instead of GUAC_TERMINAL_INITIAL_PALETTE when resetting
    the display palette.

commit 002dac47004086a4ede18270c77e8124c45fbf01
Author: Jim Chen <nchen@...>
Date:   2018-01-10T03:21:02Z

    GUACAMOLE-470: Support configurable colors in color-scheme parameter.
    
    Add support for configuring individual colors in the color-scheme
    parameter, by parsing the parameter content into name-value pairs.
    Backward compatibility is preserved by translating previously supported
    values into corresponding new values.

----


---

Reply via email to