1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-06 10:42:32 +03:00

Better escape code parsing (thanks to Ryooooooga) (#2514)

This commit is contained in:
Jesse Duffield
2023-03-19 15:41:47 +11:00
committed by GitHub
parent e6274af015
commit b542579db3
90 changed files with 896 additions and 348 deletions

View File

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