mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-10 02:24:05 +09:00
http, pcspeaker driver
Former-commit-id: a3ad38695e8c1e1040a6a3f4b8470217e8a98489 Former-commit-id: cd3809edcae7b26e7b3d846dab17f1f63761f30f
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
The Terminal API provides functions for sending text to the terminals, and drawing text-mode graphics. The API expects connected terminal to use Codepage 437. See section \emph{Codepage} for details.
|
||||
|
||||
\subsection{Functions}
|
||||
\section{Functions}
|
||||
|
||||
Note: cursor coordinates starts from one, not zero.
|
||||
|
||||
@@ -67,7 +67,7 @@ Note: cursor coordinates starts from one, not zero.
|
||||
term.backCol() & int & Returns current background colour.
|
||||
\end{tabularx}
|
||||
|
||||
\subsection{Standard Colours}
|
||||
\section{Standard Colours}
|
||||
|
||||
\begin{tabularx}{\textwidth}{c l c l c l c l}
|
||||
0 & \textcolor{black}{Black} & 1 & White & 2 & \textcolor{dimgrey}{Dim grey} & 3 & \textcolor{brightgrey}{Bright grey}
|
||||
@@ -81,7 +81,7 @@ Note: cursor coordinates starts from one, not zero.
|
||||
|
||||
Non-colour terminals support colour index of 0--3.
|
||||
|
||||
\subsection{Codepage}
|
||||
\section{Codepage}
|
||||
|
||||
\newlength{\cpimagew}
|
||||
\setlength{\cpimagew}{\linewidth}
|
||||
@@ -91,7 +91,7 @@ Non-colour terminals support colour index of 0--3.
|
||||
|
||||
Character 0x9E (currency symbol) and 0xFA (middle dot) can be accessed with following Lua constants: \emph{MONEY} and \emph{MIDDOT}. See \emph{Lua Globals} > \emph{Constants} section.
|
||||
|
||||
\subsection{Accepted Control Sequences}
|
||||
\section{Accepted Control Sequences}
|
||||
|
||||
\begin{tabularx}{\textwidth}{c X c X}
|
||||
\textbf{\large No.} & \textbf{\large Description} & \textbf{\large No.} & \textbf{\large Description}
|
||||
|
||||
Reference in New Issue
Block a user