mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-08-01 04:31:52 -07:00
This builds upon the idea of780360abf0
but it fixes the issue in a bit of a nicer way; instead of throwing an exception and closing the prompt, we simply check if there is only a single completion available inside `hlComplete` directly. While what780360abf0
said is true insofar that we have incomplete information when inside `hlComplete`, this does not actually matter in this case. We have access to the complete user input (possibly consisting of things not from this round of completion), which is enough here.