summaryrefslogtreecommitdiffstats
path: root/runtime/ui/app.go
diff options
context:
space:
mode:
authordwillist <dthornton@vmware.com>2021-01-12 23:53:52 -0500
committerdwillist <dthornton@vmware.com>2021-01-12 23:53:52 -0500
commitbe945d35019f9604cb4232e558db589626cdda83 (patch)
treec0039efc6a0033a19e53260f4e8abaa162ec136e /runtime/ui/app.go
parent92ce00a1a95fd4905e0cf9da5e28bf25133463ed (diff)
updates to layer_primitive
- add custom keybindings - add pagedown functionality (should be factored out evenutally) - add toggleable layer compare modes Signed-off-by: dwillist <dthornton@vmware.com>
Diffstat (limited to 'runtime/ui/app.go')
-rw-r--r--runtime/ui/app.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/ui/app.go b/runtime/ui/app.go
index b81d2b8..f9bcf5c 100644
--- a/runtime/ui/app.go
+++ b/runtime/ui/app.go
@@ -1,6 +1,7 @@
package ui
import (
+ "os"
"sync"
"github.com/gdamore/tcell/v2"
@@ -67,7 +68,7 @@ func newApp(app *tview.Application, analysis *image.AnalysisResult, cache filetr
filterView := components.NewFilterView(treeViewModel).Setup()
- layersView := components.NewLayerList(treeViewModel).Setup()
+ layersView := components.NewLayerList(treeViewModel).Setup(config)
layersBox := components.NewWrapper("Layers", "subtitle!", layersView).Setup()
fileTreeView := components.NewTreeView(treeViewModel)