- added ^A (start of line) and ^E (end of line)
- added support for escaping spaces (see an example of it's use in the
new ShellPrompt)
- some code cleanup: I'm now tracking changes to XPrompt also in
modified version that supports i18n. This is the reason of some name
changes.
borderWidth is already defined in Config.hs. Thus, if one attempted to use a prompt configuration different than defaultXPConfig, and one defined it in one's Config.hs where it should be, then the borderWidth field would cause a warning by -Wall, since borderWidth is already a name being used by XMonad at large.
This patch fixes a nasty bug in getLastWord, a bug that causes XMonad
to crash as soon as the command line consists of only 2 empty spaces.
*PLEASE UPDATE* if you are running XPrompt.
- we run the action passed to mkXPrompt only if we have a command;
- updateWindows must call destroyComplWin if there are no completions;
- some comments (more to come)
- a shorthand in keyPressHandle
- removed all warnings
This is a long patch the brings us a real prompt, more or less: completions
now work. Added history support, with a configuration option: defaul history
size is 256.
defaultPromptConfig is now deprecated: please use defaultXPConfig instead