diff --git a/gshmm.go b/gshmm.go index de51973..b193b55 100644 --- a/gshmm.go +++ b/gshmm.go @@ -120,6 +120,11 @@ func initialModel(width int, height int) model { BorderForeground(lipgloss.Color("63")). Padding(2) + // NOTE: disable the default keymap, we don't want to be able to + // scroll on this viewport or control it in any view. it's + // read-only + datasheetViewport.KeyMap = viewport.KeyMap{} + loadDatasheetSpinner := spinner.New() loadDatasheetSpinner.Spinner = spinner.Dot loadDatasheetSpinner.Style = lipgloss.NewStyle().