aboutsummaryrefslogtreecommitdiff
path: root/v_windows/v/old/vlib/term/term.js.v
blob: be85eca0e034efcde0c702fabc07a1db88d1e351 (plain)
1
2
3
4
5
6
7
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
}