1
1
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3516 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Этот коммит содержится в:
David Lawrence Ramsey 2006-05-14 18:22:01 +00:00
родитель d8d1e26e54
Коммит c1c818ebd5
4 изменённых файлов: 14 добавлений и 18 удалений

Просмотреть файл

@ -214,8 +214,7 @@ bool curses_ended = FALSE;
* statusbar. */ * statusbar. */
char *homedir = NULL; char *homedir = NULL;
/* The user's home directory, from $HOME or /* The user's home directory, from $HOME or /etc/passwd. */
* /etc/passwd. */
/* Return the number of entries in the shortcut list s. */ /* Return the number of entries in the shortcut list s. */
size_t length_of_list(const shortcut *s) size_t length_of_list(const shortcut *s)

Просмотреть файл

@ -79,6 +79,7 @@
#endif /* CURSES_H */ #endif /* CURSES_H */
#ifdef ENABLE_NLS #ifdef ENABLE_NLS
/* Native language support. */
#ifdef HAVE_LIBINTL_H #ifdef HAVE_LIBINTL_H
#include <libintl.h> #include <libintl.h>
#endif #endif

Просмотреть файл

@ -28,15 +28,14 @@
#include <string.h> #include <string.h>
static char *prompt = NULL; static char *prompt = NULL;
/* The prompt string for statusbar /* The prompt string for statusbar questions. */
* questions. */
static size_t statusbar_x = (size_t)-1; 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; 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; static bool reset_statusbar_x = FALSE;
/* Should we reset the cursor position /* Should we reset the cursor position at the statusbar
* at the statusbar prompt? */ * prompt? */
/* Read in a character, interpret it as a shortcut or toggle if /* 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 * necessary, and return it. Set meta_key to TRUE if the character is a

Просмотреть файл

@ -30,19 +30,16 @@
#include <ctype.h> #include <ctype.h>
static int *key_buffer = NULL; static int *key_buffer = NULL;
/* The default keystroke buffer, /* The default keystroke buffer, containing all the keystrokes
* containing all the keystrokes we have * we have at a given point. */
* at a given point. */
static size_t key_buffer_len = 0; static size_t key_buffer_len = 0;
/* The length of the default keystroke /* The length of the default keystroke buffer. */
* buffer. */
static int statusblank = 0; static int statusblank = 0;
/* The number of keystrokes left after /* The number of keystrokes left after we call statusbar(),
* we call statusbar(), before we * before we actually blank the statusbar. */
* actually blank the statusbar. */
static bool disable_cursorpos = FALSE; static bool disable_cursorpos = FALSE;
/* Should we temporarily disable /* Should we temporarily disable constant cursor position
* constant cursor position display? */ * display? */
/* Control character compatibility: /* Control character compatibility:
* *