Add help command to help message.

Attempt to contribute to xmonad,
and add a simple line to the help message,
containing the help command itself.

Fixes xmonad/xmonad#287
This commit is contained in:
Matt Zrinsky 2021-07-01 09:29:27 -05:00
parent 42d319545b
commit 1a4c95fac8
3 changed files with 4 additions and 0 deletions

View File

@ -48,6 +48,8 @@
providing the ability to directly jump to a layout with the providing the ability to directly jump to a layout with the
`JumpToLayout` message. `JumpToLayout` message.
* Document the help command in the help message.
## 0.15 (September 30, 2018) ## 0.15 (September 30, 2018)
* Reimplement `sendMessage` to deal properly with windowset changes made * Reimplement `sendMessage` to deal properly with windowset changes made

View File

@ -293,6 +293,7 @@ help = unlines ["The default modifier key is 'alt'. Default keybindings:",
"mod-Space Rotate through the available layout algorithms", "mod-Space Rotate through the available layout algorithms",
"mod-Shift-Space Reset the layouts on the current workSpace to default", "mod-Shift-Space Reset the layouts on the current workSpace to default",
"mod-n Resize/refresh viewed windows to the correct size", "mod-n Resize/refresh viewed windows to the correct size",
"mod-Shift-/ Show this help message with the default keybindings",
"", "",
"-- move focus up or down the window stack", "-- move focus up or down the window stack",
"mod-Tab Move focus to the next window", "mod-Tab Move focus to the next window",

View File

@ -297,6 +297,7 @@ help = unlines ["The default modifier key is 'alt'. Default keybindings:",
"mod-Space Rotate through the available layout algorithms", "mod-Space Rotate through the available layout algorithms",
"mod-Shift-Space Reset the layouts on the current workSpace to default", "mod-Shift-Space Reset the layouts on the current workSpace to default",
"mod-n Resize/refresh viewed windows to the correct size", "mod-n Resize/refresh viewed windows to the correct size",
"mod-Shift-/ Show this help message with the default keybindings",
"", "",
"-- move focus up or down the window stack", "-- move focus up or down the window stack",
"mod-Tab Move focus to the next window", "mod-Tab Move focus to the next window",