Invert command window

This commit is contained in:
krzosa
2025-12-22 21:24:35 +01:00
parent 05652240f1
commit edb2379bce
7 changed files with 102 additions and 105 deletions

View File

@@ -392,7 +392,7 @@ void OnCommand(Event event) {
For (CommandFunctions) {
if (it.trigger && MatchEvent(it.trigger, &event)) {
ProfileScopeEx(it.name.data, (int)it.name.len);
ProfileScopeEx(it.name);
it.function();
LastExecutedCommand = it.function;
}
@@ -500,6 +500,7 @@ void GarbageCollect() {
}
void Update(Event event) {
ProfileFunction();
LayoutWindows(event.xwindow, event.ywindow);
Scratch scratch;