@@ -942,7 +942,7 @@ func NewTerminal(opts *Options, eventBox *util.EventBox, executor *util.Executor
942942 if tui .HasFullscreenRenderer () {
943943 renderer = tui .NewFullscreenRenderer (opts .Theme , opts .Black , opts .Mouse )
944944 } else {
945- renderer , err = tui .NewLightRenderer (opts .TtyDefault , ttyin , opts .Theme , opts .Black , opts .Mouse , opts .Tabstop , opts .ClearOnExit ,
945+ renderer , err = tui .NewLightRenderer (opts .TtyDefault , ttyin , opts .Theme , opts .Black , opts .Mouse , opts .Tabstop , opts .ClearOnExit , opts . KeepScreen ,
946946 true , func (h int ) int { return h })
947947 }
948948 } else {
@@ -958,7 +958,7 @@ func NewTerminal(opts *Options, eventBox *util.EventBox, executor *util.Executor
958958 effectiveMinHeight += borderLines (opts .BorderShape )
959959 return min (termHeight , max (evaluateHeight (opts , termHeight ), effectiveMinHeight ))
960960 }
961- renderer , err = tui .NewLightRenderer (opts .TtyDefault , ttyin , opts .Theme , opts .Black , opts .Mouse , opts .Tabstop , opts .ClearOnExit , false , maxHeightFunc )
961+ renderer , err = tui .NewLightRenderer (opts .TtyDefault , ttyin , opts .Theme , opts .Black , opts .Mouse , opts .Tabstop , opts .ClearOnExit , opts . KeepScreen , false , maxHeightFunc )
962962 }
963963 if err != nil {
964964 return nil , err
0 commit comments