mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-30 06:37:14 +09:00
possibility to show a log view
This commit is contained in:
@@ -711,7 +711,7 @@ func (v *View) Save(usePlugin bool) bool {
|
||||
return false
|
||||
}
|
||||
|
||||
if v.Help {
|
||||
if v.Type == vtHelp {
|
||||
// We can't save the help text
|
||||
return false
|
||||
}
|
||||
@@ -1258,7 +1258,7 @@ func (v *View) ToggleHelp(usePlugin bool) bool {
|
||||
return false
|
||||
}
|
||||
|
||||
if !v.Help {
|
||||
if v.Type != vtHelp {
|
||||
// Open the default help
|
||||
v.openHelp("help")
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user