Merge pull request #508 from slotThe/prompt-ah-immediate

X.Prompt: fix selection not entering history
This commit is contained in:
slotThe
2021-04-14 08:12:23 +02:00
committed by GitHub

View File

@@ -617,6 +617,10 @@ runXP st = do
(\status ->
execStateT
(when (status == grabSuccess) $ do
ah <- gets (alwaysHighlight . config)
when ah $ do
compl <- listToMaybe <$> getCompletions
modify' $ \xpst -> xpst{ highlightedCompl = compl }
updateWindows
eventLoop handleMain evDefaultStop)
st