From 5a9f421dcb887d7a3bf2102f3aef937cf1f1c516 Mon Sep 17 00:00:00 2001 From: ndwarshuis Date: Wed, 13 Mar 2024 21:58:28 -0400 Subject: [PATCH] FIX pinentry bug --- app/pinentry-rofi.hs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/pinentry-rofi.hs b/app/pinentry-rofi.hs index ea54fff..0c1ad81 100644 --- a/app/pinentry-rofi.hs +++ b/app/pinentry-rofi.hs @@ -20,7 +20,9 @@ import UnliftIO.Environment main :: IO () main = runSimpleApp $ do hSetBuffering stdout LineBuffering - logInfo "OK Pleased to meet you" + -- NOTE: can't use RIO logging here since that will do to stderr and not + -- stdout + putStrLnT "OK Pleased to meet you" pinentryLoop =<< readPinConf newtype PinConf = PinConf {pcBwName :: T.Text} deriving (Eq, Show)