refactor font caching to just save the ID instead of mainting a cache with pattern→id-mapping
This commit is contained in:
@ -597,8 +597,8 @@ terminal:
|
||||
font:
|
||||
TOKFONT WHITESPACE STR
|
||||
{
|
||||
config.font = $<string>3;
|
||||
printf("font %s\n", config.font);
|
||||
config.font = load_font($<string>3, true);
|
||||
printf("font %s\n", $<string>3);
|
||||
}
|
||||
;
|
||||
|
||||
|
Reference in New Issue
Block a user