mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-07-31 04:01:51 -07:00
update callers of safeSpawn
This commit is contained in:
@@ -77,7 +77,7 @@ shellPrompt c = do
|
||||
prompt, unsafePrompt, safePrompt :: FilePath -> XPConfig -> X ()
|
||||
prompt = unsafePrompt
|
||||
safePrompt c config = mkXPrompt Shell config (getShellCompl [c]) run
|
||||
where run = safeSpawn c . encodeOutput
|
||||
where run = safeSpawn c . return . encodeOutput
|
||||
unsafePrompt c config = mkXPrompt Shell config (getShellCompl [c]) run
|
||||
where run a = unsafeSpawn $ c ++ " " ++ encodeOutput a
|
||||
|
||||
|
Reference in New Issue
Block a user