From befbe550576117f6a2fb00d9ae16e841b1b2f0ad Mon Sep 17 00:00:00 2001 From: jrafei <jana.eltayeb-el-rafei@etu.utc.fr> Date: Fri, 15 Dec 2023 23:29:12 +0100 Subject: [PATCH] ajout_espace_dans_print --- internal/simulation/simu.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/internal/simulation/simu.go b/internal/simulation/simu.go index 155b591..bc0f1ed 100644 --- a/internal/simulation/simu.go +++ b/internal/simulation/simu.go @@ -169,6 +169,9 @@ func (simu *Simulation) Print() { for i := 0; i < 20; i++ { fmt.Println(simu.env.station[i]) } + //fmt.Println("=================================================================================") + fmt.Println() + fmt.Println() //time.Sleep(time.Second / 4) // 60 fps ! time.Sleep(500 * time.Millisecond) // 1 fps ! //fmt.Print("\033[H\033[2J") // effacement du terminal -- GitLab