ken0x0a / sterm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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)

About

License:MIT No Attribution


Languages

Language:V 100.0%