]>
git.proxmox.com Git - rustc.git/blob - vendor/console/src/wasm_term.rs
7 pub use crate::common_term
::*;
9 pub const DEFAULT_WIDTH
: u16 = 80;
12 pub fn is_a_terminal(_out
: &Term
) -> bool
{
17 pub fn is_a_color_terminal(out
: &Term
) -> bool
{
22 pub fn terminal_size() -> Option
<(u16, u16)> {
26 pub fn read_secure() -> io
::Result
<String
> {
29 "unsupported operation",
33 pub fn read_single_key() -> io
::Result
<Key
> {
36 "unsupported operation",
41 pub fn wants_emoji() -> bool
{
45 pub fn set_title
<T
: Display
>(_title
: T
) {}