mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-29 22:27:13 +09:00
Add savehistory option
When savehistory is enabled, micro will save your command history across sessions. This includes command-mode, shell-mode, open, jump-to-line... Anything that uses up-arrow for history in the infobar. This option is on by default. Closes #874
This commit is contained in:
@@ -342,7 +342,7 @@ func main() {
|
||||
// Create a new messenger
|
||||
// This is used for sending the user messages in the bottom of the editor
|
||||
messenger = new(Messenger)
|
||||
messenger.history = make(map[string][]string)
|
||||
messenger.LoadHistory()
|
||||
|
||||
// Now we load the input
|
||||
buffers := LoadInput()
|
||||
|
||||
Reference in New Issue
Block a user