summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/libunix.h
blob: 16c2dee1b196d49cd970964ab2831737204401d7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef LIBUNIX_H
#define LIBUNIX_H

#ifndef O_BINARY
#define O_BINARY 0
#endif

#ifndef USE_TILE_LOCAL

#include <stdio.h>

#include "libconsole.h"
void fakecursorxy(int x, int y);

#ifdef USE_TILE_WEB
bool is_tiles();
#else
static inline constexpr bool is_tiles() { return false; }
#endif

extern int unixcurses_get_vi_key(int keyin);

#endif
#endif