-
I wanted to make an application in which a command mode (like vim or kakoune's) is present.. Is it possible to do so? Thanks in advance |
Beta Was this translation helpful? Give feedback.
Answered by
gyscos
Jan 5, 2022
Replies: 1 comment 3 replies
-
Hi, and thanks for the question! Right now there are two ways to do it:
https://docs.rs/cursive-aligned-view/latest/cursive_aligned_view/ may be an implementation of the second solution. |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
python128
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, and thanks for the question!
Right now there are two ways to do it:
StackView::add_layer_at
to manually put the new layer at the bottom of the screen, and useStackView::reposition_layer
to keep it at the bottom when you detect a resize event.https://docs.rs/cursive-aligned-view/latest/cursive_aligned_view/ may be an implementation of the second solution.