pub enum Kind {
Show 14 variants
Stack,
CommandLine,
Halted,
InputForm,
ChooseBox,
Message,
Graphics,
EquationWriter,
EquationView,
InteractiveStack,
ObjectEdit,
MatrixWriter,
Input,
Unknown,
}Expand description
What has the keyboard.
Variants§
Stack
The stack, no command line open, no program halted.
CommandLine
The stack with a command line open.
Halted
The stack, with one or more programs halted (HALT, PROMPT).
InputForm
An input form (48GX, 49G).
ChooseBox
A choose box.
Message
A message box (MSGBOX, the 49G’s error box).
Graphics
The graphics screen (PICTURE, PVIEW, a plot).
EquationWriter
The 48SX’s or 48GX’s EquationWriter in entry or selection mode. Its working objects lie on the stack above the user’s levels while it is open.
EquationView
The 48SX’s or 48GX’s EquationWriter in scrolling mode (▼ on an algebraic at the stack, or PICTURE in the writer): ENTER does nothing there, CANCEL returns to the writer.
InteractiveStack
The interactive stack (▲ at the stack; the 49G’s HIST): ▲▼ move its pointer, the menu keys act on the level it points at, ENTER or CANCEL leaves and keeps what was done.
ObjectEdit
An object edited on the command line inside another loop (▼ on a stack level, EDIT, VISIT, the interactive stack’s EDIT, the 49G’s TOOL EDIT): ENTER puts the edited object back, CANCEL restores the original. The object is off the stack meanwhile.
MatrixWriter
The MatrixWriter (◀MATRIX, the 49G’s MTRW, ▼ on a matrix), also
with a cell being typed (Screen::command_line).
Input
Another loop reads the keys with the command line open: a program waits for input (INPUT), or an editor uses the line (the 49G’s equation writer).
Unknown
Another loop has the keyboard (WAIT, a catalog or browser), or the state could not be read.