mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-11 07:02:44 +09:00
Implement searching
This commit is contained in:
@@ -119,7 +119,7 @@ func DefaultCommands() map[string]StrCommand {
|
||||
// enter
|
||||
func CommandEditAction(prompt string) BufKeyAction {
|
||||
return func(h *BufHandler) bool {
|
||||
InfoBar.Prompt("> ", prompt, func(resp string, canceled bool) {
|
||||
InfoBar.Prompt("> ", prompt, nil, func(resp string, canceled bool) {
|
||||
if !canceled {
|
||||
HandleCommand(resp)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user