blob: 7e3bef49c737a1675299edd72f768692e18dc7e7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// $FreeBSD$
extern void _rl_set_screen_size (int, int);
#define rl_set_screen_size _rl_set_screen_size
#define rl_filename_completion_function filename_completion_function
extern int screenwidth, screenheight;
static inline void
rl_get_screen_size (int *rows, int *cols)
{
if (rows) *rows = screenheight;
if (cols) *cols = screenwidth;
}
#if 0
#define savestring
#include <readline/readline.h>
#undef savestring
#endif
|