refactored render to internal/render added logging with charmbracelet/log
This commit is contained in:
parent
109c54f1e5
commit
6f0b534d8d
20 changed files with 356 additions and 13 deletions
7
Output/tui/view.go
Normal file
7
Output/tui/view.go
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
package tui
|
||||
|
||||
import "fmt"
|
||||
|
||||
func (m model) View() string {
|
||||
return "Counter: " + fmt.Sprintf("%d", m.count) + "\n[↑/↓ to change, q to quit]"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue