mirror of
https://github.com/Hopiu/micro.git
synced 2026-03-16 22:10:26 +00:00
Make it clear that ClearStatus is the same as ClearInfo
ClearInfo and ClearStatus actions do exactly the same thing. Let's keep them both, for compatibility reasons (who knows how many users are using either of the two), but at least document that there is no difference between the two.
This commit is contained in:
parent
e2e8baf4f3
commit
7e09a921e4
2 changed files with 3 additions and 3 deletions
|
|
@ -1577,10 +1577,9 @@ func (h *BufPane) ToggleRuler() bool {
|
|||
return true
|
||||
}
|
||||
|
||||
// ClearStatus clears the messenger bar
|
||||
// ClearStatus clears the infobar. It is an alias for ClearInfo.
|
||||
func (h *BufPane) ClearStatus() bool {
|
||||
InfoBar.Message("")
|
||||
return true
|
||||
return h.ClearInfo()
|
||||
}
|
||||
|
||||
// ToggleHelp toggles the help screen
|
||||
|
|
|
|||
|
|
@ -242,6 +242,7 @@ ToggleDiffGutter
|
|||
ToggleRuler
|
||||
JumpLine
|
||||
ResetSearch
|
||||
ClearInfo
|
||||
ClearStatus
|
||||
ShellMode
|
||||
CommandMode
|
||||
|
|
|
|||
Loading…
Reference in a new issue