GDB (xrefs)
Loading...
Searching...
No Matches
Macros | Functions
cli-out.c File Reference
#include "defs.h"
#include "ui-out.h"
#include "cli-out.h"
#include "completer.h"
#include "readline/readline.h"
#include "cli/cli-style.h"
#include "ui.h"

Go to the source code of this file.

Macros

#define MIN_CHARS_PER_LINE   50
 
#define MAX_CHARS_PER_LINE   4096
 

Functions

static void cli_mld_crlf (const struct match_list_displayer *displayer)
 
static void cli_mld_putch (const struct match_list_displayer *displayer, int ch)
 
static void cli_mld_puts (const struct match_list_displayer *displayer, const char *s)
 
static void cli_mld_flush (const struct match_list_displayer *displayer)
 
EXTERN_C void _rl_erase_entire_line (void)
 
static void cli_mld_erase_entire_line (const struct match_list_displayer *displayer)
 
static void cli_mld_beep (const struct match_list_displayer *displayer)
 
static int cli_mld_read_key (const struct match_list_displayer *displayer)
 
void cli_display_match_list (char **matches, int len, int max)
 

Macro Definition Documentation

◆ MAX_CHARS_PER_LINE

#define MAX_CHARS_PER_LINE   4096

Definition at line 276 of file cli-out.c.

Referenced by cli_ui_out::clear_progress_notify(), and cli_ui_out::do_progress_notify().

◆ MIN_CHARS_PER_LINE

#define MIN_CHARS_PER_LINE   50

Definition at line 275 of file cli-out.c.

Referenced by cli_ui_out::clear_progress_notify(), and cli_ui_out::do_progress_notify().

Function Documentation

◆ _rl_erase_entire_line()

EXTERN_C void _rl_erase_entire_line ( void )

◆ cli_display_match_list()

void cli_display_match_list ( char ** matches,
int len,
int max )

◆ cli_mld_beep()

static void cli_mld_beep ( const struct match_list_displayer * displayer)
static

Definition at line 509 of file cli-out.c.

Referenced by cli_display_match_list().

◆ cli_mld_crlf()

static void cli_mld_crlf ( const struct match_list_displayer * displayer)
static

Definition at line 467 of file cli-out.c.

Referenced by cli_display_match_list().

◆ cli_mld_erase_entire_line()

static void cli_mld_erase_entire_line ( const struct match_list_displayer * displayer)
static

Definition at line 501 of file cli-out.c.

References _rl_erase_entire_line().

Referenced by cli_display_match_list().

◆ cli_mld_flush()

static void cli_mld_flush ( const struct match_list_displayer * displayer)
static

Definition at line 491 of file cli-out.c.

Referenced by cli_display_match_list().

◆ cli_mld_putch()

static void cli_mld_putch ( const struct match_list_displayer * displayer,
int ch )
static

Definition at line 475 of file cli-out.c.

References ui_file::putc().

Referenced by cli_display_match_list().

◆ cli_mld_puts()

static void cli_mld_puts ( const struct match_list_displayer * displayer,
const char * s )
static

Definition at line 483 of file cli-out.c.

Referenced by cli_display_match_list().

◆ cli_mld_read_key()

static int cli_mld_read_key ( const struct match_list_displayer * displayer)
static

Definition at line 517 of file cli-out.c.

Referenced by cli_display_match_list().