v/vlib/term/misc_js.v

7 lines
169 B
V
Raw Normal View History

2020-01-28 05:18:19 +01:00
module term
pub fn get_terminal_size() (int, int) {
// TODO: find a way to get proper width&height of the terminal on a Javascript environment
return 80, 25
}