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:
@@ -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
|
||||||
|
@@ -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
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user