The gui can now pop open a modal based on clicking a button but I need to manage focus next.
This commit is contained in:
parent
34c84343db
commit
64855f3c90
6 changed files with 80 additions and 45 deletions
|
@ -96,7 +96,10 @@ using namespace fmt;
|
|||
"5" |
|
||||
"6" |
|
||||
"7" %invert |
|
||||
"22" |
|
||||
"27" %reset_invert |
|
||||
"9" ["0"-"7"] |
|
||||
"10" ["0"-"7"] |
|
||||
(fg|bg) (color24b num %red ";" num %blue ";" num %green ) %color_out
|
||||
) "m" %end
|
||||
);
|
||||
|
@ -138,6 +141,7 @@ bool ANSIParser::parse(std::wstring_view codes, ColorCB color_cb, WriteCB write_
|
|||
|
||||
if(!good) {
|
||||
println("FAIL AT {}", p - pe);
|
||||
p -= 10;
|
||||
// dear cthuhlu, save me from the pain that is wstring
|
||||
for(int i = 0; i < 100; i++) {
|
||||
print("{}", char(p[i]));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue