1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-15 05:15:10 +00:00

All lists highly support terminal-based high adaptability

This commit is contained in:
Tw93
2025-11-24 11:20:34 +08:00
parent 21594ce681
commit 541f52d46e
8 changed files with 139 additions and 25 deletions

View File

@@ -7,8 +7,7 @@ const (
maxLargeFiles = 30
barWidth = 24
minLargeFileSize = 100 << 20 // 100 MB
entryViewport = 12
largeViewport = 12
defaultViewport = 12 // Default viewport when terminal height is unknown
overviewCacheTTL = 7 * 24 * time.Hour // 7 days
overviewCacheFile = "overview_sizes.json"
duTimeout = 60 * time.Second // Increased for large directories