Peter Jones 57c00b1086 Better completion when using `alwaysHighlight'
This change improves the UX of X.Prompt when `alwaysHighlight` is
enabled.  This is especially useful for use with `mkXPromptWithModes`
which forces `alwaysHighlight` to be `True`.

When the user presses the `complKey` and `alwaysHighlight` is `True`,
one of two things will happen:

  1. If this is the first time `complKey` is pressed in this round of
     completion then the prompt buffer will be updated so it contains
     the currently highlighted item.

  2. Every other time that the `complKey` is pressed the next
     completion item will be selected and the prompt buffer updated.

This gives immediate feedback to the user and allows using some
prompts with `alwaysHighlight` that weren't possible before (e.g.,
shellPrompt, directoryPrompt, etc.)
2017-02-05 19:38:00 -07:00
2017-01-12 12:27:11 -07:00
2011-04-13 05:30:02 +00:00
2015-08-22 14:01:56 -04:00
2016-12-14 14:44:15 -07:00
2007-11-01 20:20:41 +00:00

xmonad-contrib: Third Party Extensions to the xmonad Window Manager

Build Status

You need the ghc compiler and xmonad window manager installed in order to use these extensions.

For installation and configuration instructions, please see the [xmonad website] xmonad, the documents included with the [xmonad source distribution] xmonad-git, and the [online haddock documentation] xmonad-docs.

Getting or Updating XMonadContrib

(To use git xmonad-contrib you must also use the [git version of xmonad] xmonad-git.)

Contributing

Haskell code contributed to this repo should live under the appropriate subdivision of the XMonad namespace (currently includes Actions, Config, Hooks, Layout, Prompt, and Util). For example, to use the Grid layout, one would import:

XMonad.Layout.Grid

For further details, see the [documentation] developing for the XMonad.Doc.Developing module and the [xmonad website] xmonad.

License

Code submitted to the contrib repo is licensed under the same license as xmonad itself, with copyright held by the authors.

Description
Languages
Haskell 99.6%
C 0.2%
Shell 0.1%