diff options
author | Stefan Haller <stefan@haller-berlin.de> | 2023-05-18 15:29:37 +0200 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2023-05-20 12:58:32 +1000 |
commit | 64b2685c2dfc34a5cb7f2870e06d649339cc3ccf (patch) | |
tree | dda795b927abdd65852e0376b93cf5a3d98a9a42 /pkg/gui/main_panels.go | |
parent | 7d4bfb6621163244b5467ab6e6c40571726d7c81 (diff) |
Visualize the "ignore whitespace" state in the subtitle of the diff view
Diffstat (limited to 'pkg/gui/main_panels.go')
-rw-r--r-- | pkg/gui/main_panels.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/gui/main_panels.go b/pkg/gui/main_panels.go index e7c87c5e5..d3418b628 100644 --- a/pkg/gui/main_panels.go +++ b/pkg/gui/main_panels.go @@ -66,6 +66,8 @@ func (gui *Gui) RefreshMainView(opts *types.ViewUpdateOpts, context types.Contex view.Title = opts.Title } + view.Subtitle = opts.SubTitle + if err := gui.runTaskForView(view, opts.Task); err != nil { gui.c.Log.Error(err) return nil |