package miaou-core
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Miaou core/widgets (no drivers, no SDL)
Install
dune-project
Dependency
Authors
Maintainers
Sources
v0.5.2.tar.gz
md5=60a3b9f181f24572a06a9492532bfdda
sha512=fcc35a275066be2900e6201782faf47503076fa4640f08cf78067835a6f447b74613009e55b2ac799adb7ca46f1bffa261fc5971753f2cc3c6bef327511c7ef6
doc/miaou-core.internals/Miaou_internals/Modal_snapshot/index.html
Module Miaou_internals.Modal_snapshotSource
Max width specification for dynamic modal sizing
Resolve a max_width_spec to actual columns given terminal width
Source
val set_provider :
(unit ->
(string
* int option
* max_width_spec option
* bool
* (LTerm_geom.size ->
string))
list) ->
unitSource
val get_stack_snapshot :
unit ->
(string
* int option
* max_width_spec option
* bool
* (LTerm_geom.size ->
string))
listStore the last rendered modal position for click coordinate translation. Called by modal_renderer after computing the actual modal position.
Get the last rendered modal position (content_top_row, content_left_col). Returns None if no modal has been rendered.
Clear the stored position (call when modal stack is empty).
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>