aboutsummaryrefslogtreecommitdiffstats
path: root/screen_utils.h
blob: 30c58bfca1072d190d522d797b1a083f0fb71266 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* read a characher from the status window */
int screen_getch(WINDOW *w, char *prompt);

/* read a string from the status window */
char *screen_getstr(WINDOW *w, char *prompt);

/* query user for a string and find it in a list window */
int screen_find(screen_t *screen,
		mpd_client_t *c,
		list_window_t *lw, 
		int rows,
		command_t findcmd,
		list_window_callback_fn_t callback_fn);


int my_waddstr(WINDOW *, const char *, int);
int my_mvwaddstr(WINDOW *, int, int, const char *, int);