Setting window sizes, NewDir
This commit is contained in:
@@ -254,8 +254,6 @@ void GenerateConfig() {
|
||||
colors.add({"TitleBarSelection", "GruvboxLight3"});
|
||||
|
||||
Array<Var> style = {};
|
||||
style.add({"ConsoleSizeSmall", "10"});
|
||||
style.add({"ConsoleSizeBig", "30"});
|
||||
style.add({"WaitForEvents", "1"});
|
||||
style.add({"DrawLineNumbers", "1"});
|
||||
style.add({"DrawScrollbar", "1"});
|
||||
@@ -272,8 +270,11 @@ void GenerateConfig() {
|
||||
For(gruvbox) sb.add(Fmt("Color %s = %s;", it.name, C(it.value)));
|
||||
For(colors) sb.add(Fmt("Color Color%s = %s;", it.name, C(it.value)));
|
||||
For(style) {
|
||||
if (CHAR_IsDigit(it.value[0])) sb.add(Fmt("Int Style%s = %s;", it.name, it.value));
|
||||
else sb.add(Fmt("String Style%s = \"%s\";", it.name, it.value));
|
||||
if (CHAR_IsDigit(it.value[0])) {
|
||||
sb.add(Fmt("Int Style%s = %s;", it.name, it.value));
|
||||
} else {
|
||||
sb.add(Fmt("String Style%s = \"%s\";", it.name, it.value));
|
||||
}
|
||||
}
|
||||
}
|
||||
S8_String string = Merge(scratch, sb, "\n");
|
||||
|
||||
Reference in New Issue
Block a user