From f995da30b67df39b5d282fe9d33d6a6e2d81e131 Mon Sep 17 00:00:00 2001 From: Jonathan Lamothe Date: Tue, 23 Jul 2024 20:20:53 -0400 Subject: [PATCH] centre hamming code --- src/Hamming/App/Draw.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Hamming/App/Draw.hs b/src/Hamming/App/Draw.hs index a3fce79..607adbc 100644 --- a/src/Hamming/App/Draw.hs +++ b/src/Hamming/App/Draw.hs @@ -27,11 +27,12 @@ License along with this program. If not, see module Hamming.App.Draw (drawFunc) where import Brick.Types (Widget) +import Brick.Widgets.Center (center) import Hamming.App.Types import Hamming.App.Widgets drawFunc :: AppState -> [Widget ResName] -drawFunc s = [hammingW s] +drawFunc s = [center $ hammingW s] --jl