mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-08-01 20:51:52 -07:00
XPrompt: removed touchFile (which is not the equivalent of touch!)
This commit is contained in:
@@ -550,8 +550,7 @@ readHistory = do
|
|||||||
[(hist,_)] -> return (hist,h)
|
[(hist,_)] -> return (hist,h)
|
||||||
[] -> return ([],h)
|
[] -> return ([],h)
|
||||||
_ -> return ([],h)
|
_ -> return ([],h)
|
||||||
else do touchFile path
|
else do h <- openFile path WriteMode
|
||||||
h <- openFile path ReadMode
|
|
||||||
return ([],h)
|
return ([],h)
|
||||||
|
|
||||||
writeHistory :: Handle -> [History] -> IO ()
|
writeHistory :: Handle -> [History] -> IO ()
|
||||||
|
Reference in New Issue
Block a user