XPrompt: fixes a nasty bug in getLastWord
XPrompt: fixes a nasty bug in getLastWord

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.

f1u77y/xmonad-contrib,0/xmonad-contrib,0/xmonad-contrib,CaptainPatate/xmonad-contrib,CaptainPatate/xmonad-contrib,ohlus/xmonad-contrib,pjones/xmonad-test,mathstuf/xmonad-contrib,ohlus/xmonad-contrib,CaptainPatate/xmonad-contrib,0/xmonad-contrib,ohlus/xmonad-contrib,xmonad/xmonad-contrib,mathstuf/xmonad-contrib,mathstuf/xmonad-contrib,f1u77y/xmonad-contrib,xmonad/xmonad-contrib