highlight: Fix missing .rgb_sp_color in initializers (#9287)

terminal_get_line_attributes() had this bug for a long time, though it
likely had no effect visible to users.

ref #9028
ref 60f845ca55
This commit is contained in:
Justin M. Keyes
2018-11-30 21:13:01 +01:00
committed by GitHub
parent b0ebf61d37
commit 32a30d90b4
7 changed files with 19 additions and 17 deletions

View File

@@ -120,7 +120,7 @@ describe('terminal window highlighting with custom palette', function()
clear()
screen = Screen.new(50, 7)
screen:set_default_attr_ids({
[1] = {foreground = 1193046, special = Screen.colors.Black},
[1] = {foreground = tonumber('0x123456')},
[2] = {foreground = 12},
[3] = {bold = true, reverse = true},
[5] = {background = 11},