mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-07-31 12:11:52 -07:00
Merge pull request #508 from slotThe/prompt-ah-immediate
X.Prompt: fix selection not entering history
This commit is contained in:
@@ -617,6 +617,10 @@ runXP st = do
|
|||||||
(\status ->
|
(\status ->
|
||||||
execStateT
|
execStateT
|
||||||
(when (status == grabSuccess) $ do
|
(when (status == grabSuccess) $ do
|
||||||
|
ah <- gets (alwaysHighlight . config)
|
||||||
|
when ah $ do
|
||||||
|
compl <- listToMaybe <$> getCompletions
|
||||||
|
modify' $ \xpst -> xpst{ highlightedCompl = compl }
|
||||||
updateWindows
|
updateWindows
|
||||||
eventLoop handleMain evDefaultStop)
|
eventLoop handleMain evDefaultStop)
|
||||||
st
|
st
|
||||||
|
Reference in New Issue
Block a user