pub fn draw<W>(w: &mut W, counter: Duration) -> Result<()> where
    W: Write