DROPME: change window title for testing
This commit is contained in:
@@ -197,6 +197,12 @@ func (self *DiffHelper) RenderFilesViewDiff(pair types.MainContextPair) {
|
||||
title = self.c.Tr.StagedChanges
|
||||
}
|
||||
|
||||
// >>>>> HACK
|
||||
if pair == self.c.MainViewPairs().Diff {
|
||||
title += " (focused)"
|
||||
}
|
||||
// <<<<< HACK
|
||||
|
||||
refreshOpts := types.RefreshMainOpts{
|
||||
Pair: pair,
|
||||
Main: &types.ViewUpdateOpts{
|
||||
@@ -214,6 +220,12 @@ func (self *DiffHelper) RenderFilesViewDiff(pair types.MainContextPair) {
|
||||
title = self.c.Tr.UnstagedChanges
|
||||
}
|
||||
|
||||
// >>>>> HACK
|
||||
if pair == self.c.MainViewPairs().Diff {
|
||||
title += " (focused)"
|
||||
}
|
||||
// <<<<< HACK
|
||||
|
||||
refreshOpts.Secondary = &types.ViewUpdateOpts{
|
||||
Title: title,
|
||||
SubTitle: self.IgnoringWhitespaceSubTitle(),
|
||||
|
||||
Reference in New Issue
Block a user