This is a simple Golang project to familiarize myself with the use of the Tview module to create a terminal-based user interface (UI).
- Go 1.21.1 or later
-
Clone the repository:
git clone https://github.com/flisnes/tview_testing.git cd tview_testing
-
Initialize the Go module:
go mod init github.com/flisnes/tview_testing
-
Install dependencies:
go get github.com/rivo/tview go get github.com/gdamore/tcell/v2
Run the application:
go run main.go
Interact with the UI:
- Use the arrow keys to navigate through the list
- Press the letter associated with each item to select it
- Press q to quit the application
This project is licensed under the MIT License - see the LICENSE file for details.
- Tview - The library used to create the terminal UI.
- Tcell - The underlying library for handling terminal input and output.