mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-07-31 04:01:51 -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)
|
||||
[] -> return ([],h)
|
||||
_ -> return ([],h)
|
||||
else do touchFile path
|
||||
h <- openFile path ReadMode
|
||||
else do h <- openFile path WriteMode
|
||||
return ([],h)
|
||||
|
||||
writeHistory :: Handle -> [History] -> IO ()
|
||||
|
Reference in New Issue
Block a user