Commit c1eee3bc authored by ticki's avatar ticki

Merge branch 'master' of

parents a1033efe c2475108
......@@ -2,7 +2,7 @@
This repository contains a bunch of minigames running on Redox OS.
[![Travis Build Status](](
[![Travis Build Status](](
## What we got.
extern crate extra;
use extra::io::WriteExt;
use std::collections::HashMap;
use std::io::{self, BufRead, Write};
use std::io::{self, BufRead, BufReader, Write};
use std::mem;
/// The number of factors.
......@@ -240,7 +238,7 @@ impl Game {
let stdout = io::stdout();
let mut stdout = stdout.lock();
let mut lines = stdin.lock().lines().map(|x| x.unwrap());
let mut lines = BufReader::new(stdin.lock()).lines().map(|x| x.unwrap());
stdout.writeln("<< Welcome to Dem, the commandline-based Democracy clone. 'help' for help. >>".as_bytes()).unwrap();
loop {
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