summaryrefslogtreecommitdiff
path: root/devel/gdb66/files/fbsd4.h
blob: 28afb1ba4ca1ccd776e5d076414b8309179807bc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// $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;
}