# Functions
No description provided by the author
Constrain limits the given integer with the upper and lower bounds.
Constrain32 limits the given 32-bit integer with the upper and lower bounds.
DurWithin limits the given time.Duration with the upper and lower bounds.
ExecCommand executes the given command with $SHELL.
ExecCommandWith executes the given command with the specified shell.
IsTty returns true if stdin is a terminal.
IsWindows returns true on Windows.
KillCommand kills the process for the given command.
No description provided by the author
Max returns the largest integer.
Max16 returns the largest integer.
Max32 returns the largest 32-bit integer.
Min returns the smallest integer.
Min32 returns the smallest 32-bit integer.
NewAtomicBool returns a new AtomicBool.
NewEventBox returns a new EventBox.
Once returns a function that returns the specified boolean value only once.
Read executes syscall.Read on file descriptor.
RepeatToFill repeats the given string to fill the given width.
No description provided by the author
RunesWidth returns runes width.
SetNonblock executes syscall.SetNonblock on file descriptor.
No description provided by the author
StringWidth returns string width where each CR/LF character takes 1 column.
ToChars converts byte array into rune array.
ToTty returns true if stdout is a terminal.
Truncate returns the truncated runes and its width.
# Structs
AtomicBool is a boxed-class that provides synchronized access to the underlying boolean value.
No description provided by the author
EventBox is used for coordinating events.
No description provided by the author