Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 323 Bytes

README.md

File metadata and controls

27 lines (19 loc) · 323 Bytes

simple term lib.

select (image)

Install

Usage

Select

import sterm { Selection }

fn main() {
	mut sel := Selection{
		items: ['a', 'b', 'c']
		idx: 0
		hide_cursor: true
	}
	sel.draw()
	sel.run()

	println('You selected "${sel.value()}"')
}

select (video)