mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-12-05 23:18:28 +02:00
Better escape code parsing (thanks to Ryooooooga) (#2514)
This commit is contained in:
9
vendor/github.com/jesseduffield/gocui/gui.go
generated
vendored
9
vendor/github.com/jesseduffield/gocui/gui.go
generated
vendored
@@ -407,14 +407,7 @@ func (g *Gui) CopyContent(fromView *View, toView *View) {
|
||||
g.Mutexes.ViewsMutex.Lock()
|
||||
defer g.Mutexes.ViewsMutex.Unlock()
|
||||
|
||||
toView.clear()
|
||||
|
||||
toView.lines = fromView.lines
|
||||
toView.viewLines = fromView.viewLines
|
||||
toView.ox = fromView.ox
|
||||
toView.oy = fromView.oy
|
||||
toView.cx = fromView.cx
|
||||
toView.cy = fromView.cy
|
||||
toView.CopyContent(fromView)
|
||||
}
|
||||
|
||||
// Views returns all the views in the GUI.
|
||||
|
||||
Reference in New Issue
Block a user