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

term: reorganize the module

This commit is contained in:
Alexey
2020-01-29 07:12:12 +03:00
committed by GitHub
parent a14a5fbf95
commit 5c598a3085
9 changed files with 60 additions and 61 deletions

8
vlib/term/term_js.v Normal file
View File

@ -0,0 +1,8 @@
module term
// get_terminal_size returns a number of colums and rows of terminal window.
pub fn get_terminal_size() (int, int) {
// TODO Find a way to get proper width & height of the terminal
// on a Javascript environment
return default_columns_size, default_rows_size
}