mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-09-16 09:16:26 +02:00
Only render visible portion of the screen for commits view
This commit is contained in:
@@ -63,6 +63,9 @@ type IBaseContext interface {
|
||||
// true if the view needs to be rerendered when its width changes
|
||||
NeedsRerenderOnWidthChange() bool
|
||||
|
||||
// true if the view needs to be rerendered when its height changes
|
||||
NeedsRerenderOnHeightChange() bool
|
||||
|
||||
// returns the desired title for the view upon activation. If there is no desired title (returns empty string), then
|
||||
// no title will be set
|
||||
Title() string
|
||||
@@ -172,6 +175,8 @@ type IViewTrait interface {
|
||||
SetRangeSelectStart(yIdx int)
|
||||
CancelRangeSelect()
|
||||
SetViewPortContent(content string)
|
||||
SetViewPortContentAndClearEverythingElse(content string)
|
||||
SetContentLineCount(lineCount int)
|
||||
SetContent(content string)
|
||||
SetFooter(value string)
|
||||
SetOriginX(value int)
|
||||
|
Reference in New Issue
Block a user