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:
Dmytro Maluka
2024-06-16 17:53:08 +02:00
parent e2e8baf4f3
commit 7e09a921e4
2 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -242,6 +242,7 @@ ToggleDiffGutter
ToggleRuler
JumpLine
ResetSearch
ClearInfo
ClearStatus
ShellMode
CommandMode