"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/fe-text/terminfo-core.c" between
irssi-1.2.2.tar.gz and irssi-1.2.3.tar.gz

About: irssi is a terminal based IRC client that also supports SILC and ICB protocols via plugins.

terminfo-core.c  (irssi-1.2.2):terminfo-core.c  (irssi-1.2.3)
skipping to change at line 15 skipping to change at line 15
#ifndef _POSIX_VDISABLE #ifndef _POSIX_VDISABLE
# define _POSIX_VDISABLE 0 # define _POSIX_VDISABLE 0
#endif #endif
#define tput(s) tputs(s, 0, term_putchar) #define tput(s) tputs(s, 0, term_putchar)
inline static int term_putchar(int c) inline static int term_putchar(int c)
{ {
return fputc(c, current_term->out); return fputc(c, current_term->out);
} }
#ifdef HAVE_TERM_H
#include <term.h>
#else
/* Don't bother including curses.h because of these - /* Don't bother including curses.h because of these -
they might not even be defined there */ they might not even be defined there */
char *tparm(); char *tparm();
int tputs(); int tputs();
int setupterm(); int setupterm();
char *tigetstr(); char *tigetstr();
int tigetnum(); int tigetnum();
int tigetflag(); int tigetflag();
#endif
#define term_getstr(x, buffer) tigetstr(x.ti_name) #define term_getstr(x, buffer) tigetstr(x.ti_name)
#define term_getnum(x) tigetnum(x.ti_name); #define term_getnum(x) tigetnum(x.ti_name);
#define term_getflag(x) tigetflag(x.ti_name); #define term_getflag(x) tigetflag(x.ti_name);
#define CAP_TYPE_FLAG 0 #define CAP_TYPE_FLAG 0
#define CAP_TYPE_INT 1 #define CAP_TYPE_INT 1
#define CAP_TYPE_STR 2 #define CAP_TYPE_STR 2
typedef struct { typedef struct {
const char *ti_name; /* terminfo name */ const char *ti_name; /* terminfo name */
 End of changes. 2 change blocks. 
0 lines changed or deleted 5 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)