// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. use deno_runtime_tauri::ops::tty::ConsoleSize; /// Gets the console size. pub fn console_size() -> Option { let stderr = &deno_runtime_tauri::deno_io::STDERR_HANDLE; deno_runtime_tauri::ops::tty::console_size(stderr).ok() }