-
-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify how source buffer is being saved and unify prompt clearing
- Instead of passing state.source around, simply update it only if we are outside of chat window and make M.open() noop otherwise - Unify when last prompt is cleared, clear it in .ask always instead of doing it only when explicitely submitting prompt Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
- Loading branch information
Showing
1 changed file
with
57 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters