Commit 79af260e authored by Jason Rumney's avatar Jason Rumney
Browse files

(one_and_only_w32cons): Remove.

(initialize_w32_display): Take terminal argument.
parent bce179b5
...@@ -534,15 +534,10 @@ vga_stdcolor_name (int idx) ...@@ -534,15 +534,10 @@ vga_stdcolor_name (int idx)
typedef int (*term_hook) (); typedef int (*term_hook) ();
/* TEMPORARY HACK to get w32console compiling. To support multiple consoles,
this needs to go! */
struct terminal one_and_only_w32cons;
void void
initialize_w32_display (void) initialize_w32_display (struct terminal *term)
{ {
CONSOLE_SCREEN_BUFFER_INFO info; CONSOLE_SCREEN_BUFFER_INFO info;
struct terminal *term = &one_and_only_w32cons;
term->cursor_to_hook = w32con_move_cursor; term->cursor_to_hook = w32con_move_cursor;
term->raw_cursor_to_hook = w32con_move_cursor; term->raw_cursor_to_hook = w32con_move_cursor;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment