mirror of
https://github.com/Hopiu/micro.git
synced 2026-03-21 00:10:29 +00:00
parent
84e350aa6f
commit
d3f32b5bc3
1 changed files with 4 additions and 0 deletions
|
|
@ -662,6 +662,10 @@ func (v *View) openHelp(helpPage string) {
|
|||
}
|
||||
|
||||
func (v *View) DisplayView() {
|
||||
if v.Buf.Settings["softwrap"].(bool) && v.leftCol != 0 {
|
||||
v.leftCol = 0
|
||||
}
|
||||
|
||||
if v.Type == vtLog {
|
||||
// Log views should always follow the cursor...
|
||||
v.Relocate()
|
||||
|
|
|
|||
Loading…
Reference in a new issue