mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-08-13 11:16:01 -07:00
some code formatting
This commit is contained in:
@@ -286,7 +286,7 @@ completionHandle c (ks,_) (KeyEvent {ev_event_type = t})
|
||||
case c of
|
||||
[] -> do updateWindows
|
||||
eventLoop handle
|
||||
l -> do let new_command = nextCompletion (xptype st) (command st) l --newCommand (command st) l
|
||||
l -> do let new_command = nextCompletion (xptype st) (command st) l
|
||||
modify $ \s -> s { command = new_command, offset = length new_command }
|
||||
redrawWindows c
|
||||
eventLoop (completionHandle c)
|
||||
|
@@ -12,15 +12,15 @@
|
||||
--
|
||||
-----------------------------------------------------------------------------
|
||||
|
||||
module XMonad.Prompt.Shell(
|
||||
-- * Usage
|
||||
-- $usage
|
||||
shellPrompt
|
||||
, getShellCompl
|
||||
, split
|
||||
, prompt
|
||||
, safePrompt
|
||||
) where
|
||||
module XMonad.Prompt.Shell
|
||||
( -- * Usage
|
||||
-- $usage
|
||||
shellPrompt
|
||||
, getShellCompl
|
||||
, split
|
||||
, prompt
|
||||
, safePrompt
|
||||
) where
|
||||
|
||||
import System.Environment
|
||||
import Control.Monad
|
||||
|
Reference in New Issue
Block a user