diff --git a/pkg/cy/cy-boot.janet b/pkg/cy/cy-boot.janet index 721c07cf..43560d00 100644 --- a/pkg/cy/cy-boot.janet +++ b/pkg/cy/cy-boot.janet @@ -179,4 +179,3 @@ (key/bind :replay ["!"] (fn [&] (replay/time-playback-rate -1))) (key/bind :replay ["@"] (fn [&] (replay/time-playback-rate -2))) (key/bind :replay ["#"] (fn [&] (replay/time-playback-rate -5))) -(pp actions) diff --git a/pkg/cy/cy_test.go b/pkg/cy/cy_test.go index 907f58c5..8362f9e7 100644 --- a/pkg/cy/cy_test.go +++ b/pkg/cy/cy_test.go @@ -200,7 +200,7 @@ func TestPaneKill(t *testing.T) { (pane/attach shell) (tree/kill shell) `)) - time.Sleep(1 * time.Second) // lol + time.Sleep(2 * time.Second) // lol leaves := server.cy.tree.Leaves() require.Equal(t, leaves[0].Id(), client.Node().Id()) } diff --git a/pkg/mux/screen/replay/replay_test.go b/pkg/mux/screen/replay/replay_test.go index e6ce0c4d..058c602f 100644 --- a/pkg/mux/screen/replay/replay_test.go +++ b/pkg/mux/screen/replay/replay_test.go @@ -257,14 +257,14 @@ func TestTime(t *testing.T) { i(size) r.gotoIndex(0, -1) require.Equal(t, e[0].Stamp, r.currentTime) - r.setTimeDelta(delta) + r.setTimeDelta(delta, true) require.Equal(t, 1, r.location.Index) - r.setTimeDelta(delta) + r.setTimeDelta(delta, true) require.Equal(t, 2, r.location.Index) require.Equal(t, e[2].Stamp, r.currentTime) - r.setTimeDelta(-delta) + r.setTimeDelta(-delta, true) require.Equal(t, 1, r.location.Index) - r.setTimeDelta(-delta) + r.setTimeDelta(-delta, true) require.Equal(t, 0, r.location.Index) }