package lambda-term
Terminal manipulation library for OCaml
Install
dune-project
Dependency
Authors
Maintainers
Sources
3.3.2.tar.gz
sha512=78648768644058337e22c79cf1fbb1a36472b24f11b1dc0461fc38419be6ec01b02d8d0ac45fed0bc99f91ba4c0f19d3bda113e834e064bee973b734527b9766
doc/lambda-term/LTerm_ui/index.html
Module LTerm_ui
Source
High level function for writing full-screen applications
Type of a user interface.
create term ?save_state draw
creates a new user interface. draw
is used to draw the user interface. If save_state
is true
(the default) then the state of the terminal is saved.
size ui
returns the current size of the terminal used by the given user-interface. It is updated by wait
.
cursor_visible ui
returns true
if the cursor is displayed in the UI. It is initially not visible.
set_cursor_visible ui visible
sets the cursor visible state.
cursor_position ui
returns the position of the cursor inside the UI.
set_cursor_position ui coord
sets the position of the cursor inside the UI.
wait ui
wait for an event.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>