-
Notifications
You must be signed in to change notification settings - Fork 350
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trigger ExitChecker on pressed keys (#162)
* prompt.go handleKeyBinding can indicate one should Exit if an exit checker function is set * Use new name exitChecker instead of old exitor * ExitChecker API change: breakline bool - breakline true means the executor has been called: check for exit - breakline false means no executor, just a character typed: check for exit
- Loading branch information
Showing
1 changed file
with
13 additions
and
6 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