diff options
Diffstat (limited to 'lib/lib.h')
-rw-r--r-- | lib/lib.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -204,7 +204,7 @@ int mkpath(char *dir); struct string_list **splitpath(char *path, struct string_list **list); char *readfileat(int dirfd, char *name, char *buf, off_t *len); char *readfile(char *name, char *buf, off_t len); -void msleep(long miliseconds); +void msleep(long milliseconds); void nanomove(struct timespec *ts, long long offset); long long nanodiff(struct timespec *old, struct timespec *new); int highest_bit(unsigned long l); @@ -292,10 +292,10 @@ int draw_trim(char *str, int padto, int width); int tty_fd(void); int terminal_size(unsigned *xx, unsigned *yy); int terminal_probesize(unsigned *xx, unsigned *yy); -int scan_key_getsize(char *scratch, int miliwait, unsigned *xx, unsigned *yy); +int scan_key_getsize(char *scratch, int timeout_ms, unsigned *xx, unsigned *yy); int set_terminal(int fd, int raw, int speed, struct termios *old); void xset_terminal(int fd, int raw, int speed, struct termios *old); -int scan_key(char *scratch, int miliwait); +int scan_key(char *scratch, int timeout_ms); void tty_esc(char *s); void tty_jump(int x, int y); void tty_reset(void); |