mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-08-16 20:53:55 -07:00
+ Add a new prevCompletionKey to XPConfig, in order to cycle backwards. Bound to S-<Tab> by default. + Already handle null keystrings (times when only a modifier was pressed) in handleMain, such that completions aren't cleared prematurely. + Augment nextComplIndex (now computeComplIndex) with the ability to go in an arbitrary 1-dimensional direction. As a result, that function, as well as handleCompletion and handleCompletionMain now take an additional Direction1D argument. Based on: https://github.com/solomon-b/xmonad-contrib/tree/feature/scrolling-prompt-completions Fixes: https://github.com/xmonad/xmonad-contrib/issues/831 Co-authored-by: Solomon Bothwell <ssbothwell@gmail.com>