NeoMutt
2024-10-02-37-gfa9146
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
parse_ansi.h
Go to the documentation of this file.
1
23
#ifndef MUTT_COLOR_PARSE_ANSI_H
24
#define MUTT_COLOR_PARSE_ANSI_H
25
26
#include <stdbool.h>
27
28
struct
AnsiColor
;
29
30
int
ansi_color_parse_single
(
const
char
*buf,
struct
AnsiColor
*ansi,
bool
dry_run);
31
int
ansi_color_seq_length
(
const
char
*str);
32
33
#endif
/* MUTT_COLOR_PARSE_ANSI_H */
34
35
ansi_color_parse_single
int ansi_color_parse_single(const char *buf, struct AnsiColor *ansi, bool dry_run)
Parse a single ANSI escape sequence.
Definition:
parse_ansi.c:109
ansi_color_seq_length
int ansi_color_seq_length(const char *str)
Is this an ANSI escape sequence?
Definition:
parse_ansi.c:79
AnsiColor
An ANSI escape sequence.
Definition:
ansi.h:35