in internal/engine/interactive/interactive.go [261:278]
func (components *interactiveModeComponents) updateViewportHeight(terminalHeight int) {
stepViewportPercent := 0.4
outputViewportPercent := 0.2
stepViewportHeight := int(float64(terminalHeight) * stepViewportPercent)
outputViewportHeight := int(float64(terminalHeight) * outputViewportPercent)
if stepViewportHeight < 4 {
stepViewportHeight = 4
}
if outputViewportHeight < 2 {
outputViewportHeight = 2
}
components.stepViewport.Height = stepViewportHeight
components.outputViewport.Height = outputViewportHeight
components.azureCLIViewport.Height = terminalHeight - 1
}