Misc fixes
This commit is contained in:
parent
cb8b882878
commit
93f913705a
|
@ -18,7 +18,7 @@ enum class Attribute : int
|
||||||
Italic = 1 << 6,
|
Italic = 1 << 6,
|
||||||
FinalFg = 1 << 7,
|
FinalFg = 1 << 7,
|
||||||
FinalBg = 1 << 8,
|
FinalBg = 1 << 8,
|
||||||
FinalAttr = 1 << 8,
|
FinalAttr = 1 << 9,
|
||||||
Final = FinalFg | FinalBg | FinalAttr
|
Final = FinalFg | FinalBg | FinalAttr
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -61,7 +61,7 @@ String to_string(Attribute attributes)
|
||||||
{ Attribute::Italic, "i" },
|
{ Attribute::Italic, "i" },
|
||||||
{ Attribute::Final, "F" },
|
{ Attribute::Final, "F" },
|
||||||
{ Attribute::FinalFg, "f" },
|
{ Attribute::FinalFg, "f" },
|
||||||
{ Attribute::FinalBg, "b" },
|
{ Attribute::FinalBg, "g" },
|
||||||
{ Attribute::FinalAttr, "a" },
|
{ Attribute::FinalAttr, "a" },
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{ "jsonrpc": "2.0", "method": "set_ui_options", "params": [{}] }
|
{ "jsonrpc": "2.0", "method": "set_ui_options", "params": [{}] }
|
||||||
{ "jsonrpc": "2.0", "method": "draw", "params": [[[{ "face": { "fg": "black", "bg": "white", "attributes": ["final_fg","final_bg","final_attr"] }, "contents": "\"" }, { "face": { "fg": "magenta", "bg": "default", "attributes": [] }, "contents": "\"\">>> " }, { "face": { "fg": "default", "bg": "default", "attributes": [] }, "contents": "\"\"\"\u000a" }]], { "fg": "default", "bg": "default", "attributes": [] }, { "fg": "blue", "bg": "default", "attributes": [] }] }
|
{ "jsonrpc": "2.0", "method": "draw", "params": [[[{ "face": { "fg": "black", "bg": "white", "attributes": ["final_fg","final_bg"] }, "contents": "\"" }, { "face": { "fg": "magenta", "bg": "default", "attributes": [] }, "contents": "\"\">>> " }, { "face": { "fg": "default", "bg": "default", "attributes": [] }, "contents": "\"\"\"\u000a" }]], { "fg": "default", "bg": "default", "attributes": [] }, { "fg": "blue", "bg": "default", "attributes": [] }] }
|
||||||
{ "jsonrpc": "2.0", "method": "menu_hide", "params": [] }
|
{ "jsonrpc": "2.0", "method": "menu_hide", "params": [] }
|
||||||
{ "jsonrpc": "2.0", "method": "info_hide", "params": [] }
|
{ "jsonrpc": "2.0", "method": "info_hide", "params": [] }
|
||||||
{ "jsonrpc": "2.0", "method": "draw_status", "params": [[], [{ "face": { "fg": "default", "bg": "default", "attributes": [] }, "contents": "out 1:1 " }, { "face": { "fg": "black", "bg": "yellow", "attributes": [] }, "contents": "" }, { "face": { "fg": "default", "bg": "default", "attributes": [] }, "contents": " " }, { "face": { "fg": "blue", "bg": "default", "attributes": [] }, "contents": "1 sel" }, { "face": { "fg": "default", "bg": "default", "attributes": [] }, "contents": " - client0@[kak-tests]" }], { "fg": "cyan", "bg": "default", "attributes": [] }] }
|
{ "jsonrpc": "2.0", "method": "draw_status", "params": [[], [{ "face": { "fg": "default", "bg": "default", "attributes": [] }, "contents": "out 1:1 " }, { "face": { "fg": "black", "bg": "yellow", "attributes": [] }, "contents": "" }, { "face": { "fg": "default", "bg": "default", "attributes": [] }, "contents": " " }, { "face": { "fg": "blue", "bg": "default", "attributes": [] }, "contents": "1 sel" }, { "face": { "fg": "default", "bg": "default", "attributes": [] }, "contents": " - client0@[kak-tests]" }], { "fg": "cyan", "bg": "default", "attributes": [] }] }
|
||||||
|
|
Loading…
Reference in New Issue
Block a user