Repository

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

simple term lib. ### Select ```v 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()}"') } ```

0
7
last Sep 16

Author

ken0x0a