1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-08-06 11:02:41 +03:00

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() { if Replaying() {
gui.g.RecordingConfig = gocui.RecordingConfig{ gui.g.RecordingConfig = gocui.RecordingConfig{
Speed: GetRecordingSpeed(), Speed: GetRecordingSpeed(),
Leeway: 100, Leeway: 1000,
} }
var err error 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 // these rows and columns are ignored because internally we use tcell's
// simulation screen. However we still need the pty for the sake of // simulation screen. However we still need the pty for the sake of
// running other commands in a pty. // 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 { if err != nil {
return err return err
} }