increase recording leeway

This commit is contained in:
Jesse Duffield 2022-09-17 10:50:04 -07:00
parent 6dca3e1766
commit a92f0f7c89
2 changed files with 2 additions and 2 deletions

View file

@ -42,7 +42,7 @@ func (gui *Gui) handleTestMode(test integrationTypes.IntegrationTest) {
if Replaying() {
gui.g.RecordingConfig = gocui.RecordingConfig{
Speed: GetRecordingSpeed(),
Leeway: 100,
Leeway: 1000,
}
var err error

View file

@ -106,7 +106,7 @@ func runCmdHeadless(cmd *exec.Cmd) error {
// these rows and columns are ignored because internally we use tcell's
// simulation screen. However we still need the pty for the sake of
// running other commands in a pty.
f, err := pty.StartWithSize(cmd, &pty.Winsize{Rows: 300, Cols: 300})
f, err := pty.StartWithSize(cmd, &pty.Winsize{Rows: 100, Cols: 100})
if err != nil {
return err
}