Crate wasite

Source
Expand description

Abstraction over Wasite

Enums§

Command
Terminal commands

Functions§

column
Get the cursor’s column number
execute
Execute terminal commands
height
Get terminal height in lines
hostname
Get the device’s hostname
langs
Get the user’s preferred languages, separated by semicolons
line
Get the cursor’s line number
name
Get the device’s pretty/display name
raw
Return true if raw mode is enabled
screen
Get the current screen number
set_hostname
Set the device’s hostname
set_langs
Set the user’s preferred languages, separated by semicolons
set_name
Set the device’s pretty/display name
set_raw
Turn raw mode on or off
set_screen
Set the current screen number
set_title
Set the current window title
set_tz
Set the current timezone (using the IANA TZDB identifier)
set_user
Set the current user’s username
title
Get the current window title
tz
Get the current timezone (using the IANA TZDB identifier)
user
Get the current user’s username
width
Get terminal width in columns