Message and Input Bar (StumpWM Manual)

## 4 Message and Input Bar ¶

Variable: *suppress-echo-timeout* ¶

  Assign this T and messages will not time out. It is recommended to assign this using LET.

Command: echo string ¶

  Display string in the message bar.

Function: err fmt &rest args ¶

  run FMT and ARGS through format and echo the result to the current screen along with a backtrace. For careful study, the message does not time out.

Function: wrap words &optional max-col stream ¶

  Default Values:

        max-col  stumpwm:*message-max-width*
        stream   nil

  Word wrap at the MAX-COL.

Variable: *message-max-width* ¶

  The maximum width of a message before it wraps.

Variable: *help-max-height* ¶

  Maximum number of lines for help to display.

Variable: *which-key-format* ¶

  The format string that decides how keybindings will show up in the which-key window. Two arguments will be passed to this formatter:

  the keybind itself
  the associated command

Command: colon &optional initial-input ¶

  Default Values:

        initial-input  nil

  Read a command from the user. initial-text is optional. When supplied, the text will appear in the prompt.

  String arguments with spaces may be passed to the command by delimiting them with double quotes. A backslash can be used to escape double quotes or backslashes inside the string. This does not apply to commands taking :REST or :SHELL type arguments.

Macro: with-restarts-menu &body body ¶

  Execute BODY. If an error occurs allow the user to pick a restart from a menu of possible restarts. If a restart is not chosen, resignal the error.

Function: restarts-menu err ¶

  Display a menu with the active restarts and let the user pick one. Error is the error being recovered from. If the user aborts the menu, the error is re-signalled.