1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/vlib/term/misc_js.v

7 lines
169 B
V
Raw Normal View History

2020-01-28 07:18:19 +03: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
}