Skip to content

Conversation

@Piturnah
Copy link
Owner

@Piturnah Piturnah commented Sep 1, 2023

Here we take the minibuffer input asynchronously, meaning that instead of calling take_input from within the event loop and then blocking until we have input, we instead switch to an alternative input view, providing a callback for when the input is received.

Motivation

  • Will fix the bug where resizing the terminal while in input mode messes up the borders.
  • (Hopefully) easier to follow control flow.

@Piturnah Piturnah marked this pull request as ready for review September 1, 2023 17:14
@Piturnah Piturnah merged commit 8ed5f0d into main Sep 1, 2023
@Piturnah Piturnah deleted the feat/async-mbuffer branch September 1, 2023 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants