shitty hack for terrible charm bubbletea performance
publish / publish (push) Has been cancelled

This commit is contained in:
Dax Raad
2025-07-19 15:00:11 -04:00
parent 9b65da318d
commit 86541ff922
11 changed files with 999 additions and 13 deletions
+2 -2
View File
@@ -40,8 +40,8 @@ func IsWsl() bool {
func Measure(tag string) func(...any) {
startTime := time.Now()
return func(tags ...any) {
args := append([]any{"timeTakenMs", time.Since(startTime).Milliseconds()}, tags...)
return func(args ...any) {
args = append(args, []any{"timeTakenMs", time.Since(startTime).Milliseconds()}...)
slog.Debug(tag, args...)
}
}