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

The analysis module has been refactored using Go.

This commit is contained in:
Tw93
2025-11-12 17:12:01 +08:00
parent 479d09246d
commit 6e11c52039
2 changed files with 2 additions and 2 deletions

Binary file not shown.

View File

@@ -197,7 +197,7 @@ func main() {
isOverview = false
}
p := tea.NewProgram(newModel(abs, isOverview))
p := tea.NewProgram(newModel(abs, isOverview), tea.WithAltScreen())
if err := p.Start(); err != nil {
fmt.Fprintf(os.Stderr, "analyzer error: %v\n", err)
os.Exit(1)
@@ -549,7 +549,7 @@ func (m model) View() string {
if m.isOverview {
fmt.Fprintf(&b, "%sAnalyze Disk%s\n", colorPurple, colorReset)
fmt.Fprintf(&b, "%sSelect a location to explore:%s\n\n", colorGray, colorReset)
fmt.Fprintf(&b, "%sSelect a location to explore:%s\n", colorGray, colorReset)
} else {
fmt.Fprintf(&b, "%sAnalyze Disk%s %s%s%s", colorPurple, colorReset, colorGray, displayPath(m.path), colorReset)
if !m.scanning {