1
0
mirror of https://github.com/irssi/irssi.git synced 2024-06-23 06:35:36 +00:00
This commit is contained in:
Emil Engler 2024-05-12 07:43:55 +05:00 committed by GitHub
commit c019131471
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 21 additions and 21 deletions

View File

@ -34,8 +34,8 @@
#include "default-theme.h"
GSList *themes;
THEME_REC *current_theme;
GHashTable *default_formats;
THEME_REC *current_theme = NULL;
GHashTable *default_formats = NULL;
static int init_finished;
static char *init_errors;

View File

@ -35,8 +35,8 @@ int tigetflag();
#define CAP_TYPE_STR 2
typedef struct {
const char *ti_name; /* terminfo name */
const char *tc_name; /* termcap name */
char *ti_name; /* terminfo name */
char *tc_name; /* termcap name */
int type;
unsigned int offset;
} TERMINFO_REC;

View File

@ -56,32 +56,32 @@ struct _TERM_REC {
int width, height;
/* Cursor movement */
const char *TI_smcup, *TI_rmcup, *TI_cup;
const char *TI_hpa, *TI_vpa, *TI_cub1, *TI_cuf1;
const char *TI_civis, *TI_cnorm;
char *TI_smcup, *TI_rmcup, *TI_cup;
char *TI_hpa, *TI_vpa, *TI_cub1, *TI_cuf1;
char *TI_civis, *TI_cnorm;
/* Scrolling */
const char *TI_csr, *TI_wind;
const char *TI_ri, *TI_rin, *TI_ind, *TI_indn;
const char *TI_il, *TI_il1, *TI_dl, *TI_dl1;
char *TI_csr, *TI_wind;
char *TI_ri, *TI_rin, *TI_ind, *TI_indn;
char *TI_il, *TI_il1, *TI_dl, *TI_dl1;
/* Clearing screen */
const char *TI_clear, *TI_ed; /* + *TI_dl, *TI_dl1; */
char *TI_clear, *TI_ed; /* + *TI_dl, *TI_dl1; */
/* Clearing to end of line */
const char *TI_el;
char *TI_el;
/* Repeating character */
const char *TI_rep;
char *TI_rep;
/* Colors */
int TI_colors; /* numbers of colors in TI_fg[] and TI_bg[] */
const char *TI_sgr0; /* turn off all attributes */
const char *TI_smul, *TI_rmul; /* underline on/off */
const char *TI_smso, *TI_rmso; /* standout on/off */
const char *TI_sitm, *TI_ritm; /* italic on/off */
const char *TI_bold, *TI_blink, *TI_rev;
const char *TI_setaf, *TI_setab, *TI_setf, *TI_setb;
char *TI_sgr0; /* turn off all attributes */
char *TI_smul, *TI_rmul; /* underline on/off */
char *TI_smso, *TI_rmso; /* standout on/off */
char *TI_sitm, *TI_ritm; /* italic on/off */
char *TI_bold, *TI_blink, *TI_rev;
char *TI_setaf, *TI_setab, *TI_setf, *TI_setb;
/* Colors - generated and dynamically allocated */
char **TI_fg, **TI_bg, *TI_normal;
@ -90,8 +90,8 @@ struct _TERM_REC {
char *TI_bel;
/* Keyboard-transmit mode */
const char *TI_smkx;
const char *TI_rmkx;
char *TI_smkx;
char *TI_rmkx;
/* Terminal mode states */
int appkey_enabled;