Skip to content

Commit 186e870

Browse files
committed
Merge pull request #22 from aG0aep6G/set_escdelay-extern
set_escdelay & extern variables
2 parents 28f117b + 5fa1cd3 commit 186e870

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

deimos/ncurses/curses.d

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -145,17 +145,17 @@ immutable enum :chtype
145145

146146

147147
/* global variables */
148-
__gshared WINDOW* stdscr;
149-
__gshared WINDOW* curscr;
150-
__gshared WINDOW* newscr;
151-
__gshared char[] ttytype;
152-
__gshared int COLORS;
153-
__gshared int COLOR_PAIRS;
154-
__gshared int LINES;
155-
__gshared int COLS;
156-
__gshared int TABSIZE;
157-
__gshared int ESCDELAY;
158-
__gshared chtype[256] acs_map;
148+
extern __gshared WINDOW* stdscr;
149+
extern __gshared WINDOW* curscr;
150+
extern __gshared WINDOW* newscr;
151+
extern __gshared char[] ttytype;
152+
extern __gshared int COLORS;
153+
extern __gshared int COLOR_PAIRS;
154+
extern __gshared int LINES;
155+
extern __gshared int COLS;
156+
extern __gshared int TABSIZE;
157+
extern __gshared int ESCDELAY;
158+
extern __gshared chtype[256] acs_map;
159159

160160

161161

@@ -946,7 +946,7 @@ int keyok(int keycode, bool enable);
946946
int resize_term(int lines, int columns);
947947
int resizeterm(int lines, int columns);
948948
//TODO check
949-
int set_delay(int i);
949+
int set_escdelay(int i);
950950
//TODO check
951951
int set_tabsize(int i);
952952
int use_default_colors();

0 commit comments

Comments
 (0)