feat: add mouse support + install pnpm, uv, docker, gh
- Added tea.WithMouseCellMotion() for mouse interaction in TUI - Added installers for pnpm (npm), uv (astral), docker (pacman/apt/dnf/brew), gh/github-cli (pacman/apt/dnf/brew) 💘 Generated with Crush Assisted-by: GLM-5.1 via Crush <crush@charm.land>
This commit is contained in:
@@ -102,7 +102,7 @@ func runTUI() {
|
||||
result := scanner.ScanSystem()
|
||||
|
||||
model := tui.NewModel(cfg, result)
|
||||
p := tea.NewProgram(model, tea.WithAltScreen())
|
||||
p := tea.NewProgram(model, tea.WithAltScreen(), tea.WithMouseCellMotion())
|
||||
|
||||
if _, err := p.Run(); err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error: %v\n", err)
|
||||
|
||||
Reference in New Issue
Block a user