* statusbar. */
char *homedir = NULL;
- /* The user's home directory, from $HOME or
- * /etc/passwd. */
+ /* The user's home directory, from $HOME or /etc/passwd. */
/* Return the number of entries in the shortcut list s. */
size_t length_of_list(const shortcut *s)
#endif /* CURSES_H */
#ifdef ENABLE_NLS
+/* Native language support. */
#ifdef HAVE_LIBINTL_H
#include <libintl.h>
#endif
#include <string.h>
static char *prompt = NULL;
- /* The prompt string for statusbar
- * questions. */
+ /* The prompt string for statusbar questions. */
static size_t statusbar_x = (size_t)-1;
- /* The cursor position in answer. */
+ /* The cursor position in answer. */
static size_t statusbar_pww = (size_t)-1;
- /* The place we want in answer. */
+ /* The place we want in answer. */
static bool reset_statusbar_x = FALSE;
- /* Should we reset the cursor position
- * at the statusbar prompt? */
+ /* Should we reset the cursor position at the statusbar
+ * prompt? */
/* Read in a character, interpret it as a shortcut or toggle if
* necessary, and return it. Set meta_key to TRUE if the character is a
#include <ctype.h>
static int *key_buffer = NULL;
- /* The default keystroke buffer,
- * containing all the keystrokes we have
- * at a given point. */
+ /* The default keystroke buffer, containing all the keystrokes
+ * we have at a given point. */
static size_t key_buffer_len = 0;
- /* The length of the default keystroke
- * buffer. */
+ /* The length of the default keystroke buffer. */
static int statusblank = 0;
- /* The number of keystrokes left after
- * we call statusbar(), before we
- * actually blank the statusbar. */
+ /* The number of keystrokes left after we call statusbar(),
+ * before we actually blank the statusbar. */
static bool disable_cursorpos = FALSE;
- /* Should we temporarily disable
- * constant cursor position display? */
+ /* Should we temporarily disable constant cursor position
+ * display? */
/* Control character compatibility:
*