Use System.Hclip instead of System.Clipboard

This commit is contained in:
2025-10-15 13:19:34 +01:00
parent e139499ed2
commit a0c4d62018
7 changed files with 263 additions and 270 deletions
+3 -3
View File
@@ -10,7 +10,7 @@ module Dodge.Update.Input.DebugTest (
) where
import Text.Read
import System.Clipboard
import System.Hclip
import Data.Aeson
import AesonHelp
import Control.Lens
@@ -71,8 +71,8 @@ doDebugTestF10 = uvIOEffects %~ \f u -> do
f u
doDebugTestF11 :: Universe -> Universe
doDebugTestF11 = uvIOEffects %~ \f u -> do
x <- getClipboardString
case x >>= readMaybe of
x <- getClipboard
case readMaybe x of
Nothing -> do
putStrLn "read fail"
f u