File: term.h

package info (click to toggle)
cpmtools 2.23-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,092 kB
  • sloc: ansic: 5,471; sh: 3,394; makefile: 107
file content (23 lines) | stat: -rw-r--r-- 431 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef TERM_H
#define TERM_H

#ifdef __cplusplus
extern "C" {
#endif

extern void term_init(void);
extern void term_exit(void);
extern void term_clear(void);
extern void term_xy(int x, int y);
extern void term_printf(char const *fmt, ...);
extern void term_putch(char ch);
extern int term_getch(void);
extern void term_reverse(int on);
extern int term_lines(void);
extern int term_cols(void);

#ifdef __cplusplus
}
#endif

#endif