perf(tui): coalesce and cancel usage refreshes
This commit is contained in:
1 parent
b7fc4146e0
commit
7d845046e0
6 files changed
+225
-23
No files matched your search
@@ -108,6 +108,7 @@ export class UsagePanel {
|
||||
}
|
||||
|
||||
private render(): void {
|
||||
if (!this.visible) return
|
||||
const { theme, width } = this
|
||||
const compact = this.height < 20
|
||||
const tiny = this.height < 14
|
||||
|
||||
Reference in new issue
Block a user