From: Amélia Coutard-Sander <git@ameliathe1st.gay>
Date: Sat, 4 Jan 2025 17:56:21 +0000 (+0100)
Subject: Démarrage en mode normal, pas en mode sélection
X-Git-Url: https://git.ameliathe1st.gay/?a=commitdiff_plain;h=e3e3bb6658ab0d52964a9cb08e0bc3592544f072;p=cells.git

Démarrage en mode normal, pas en mode sélection
---

diff --git a/bin/main.ml b/bin/main.ml
index c0f9c3f..13ded83 100644
--- a/bin/main.ml
+++ b/bin/main.ml
@@ -33,4 +33,4 @@ let () =
         Graphics.open_graph "";
         Graphics.set_window_title "Automaton";
         Graphics.auto_synchronize false;
-        try run (module Modes.AutoSelector) () with Graphics.Graphic_failure _ -> ()
+        try run (module Modes.Normal) () with Graphics.Graphic_failure _ -> ()
diff --git a/bin/modes.mli b/bin/modes.mli
index b0427ef..f1a50e4 100644
--- a/bin/modes.mli
+++ b/bin/modes.mli
@@ -37,6 +37,6 @@ module type Mode = ModeAux.S
 
 module Command : Mode
 
-module Normal : Mode
+module Normal : Mode with type initer = unit
 
-module AutoSelector : Mode with type initer = unit
+module AutoSelector : Mode