Subject: Re: Mouse console support
To: <>
From: David Laight <david@l8s.co.uk>
List: tech-kern
Date: 02/01/2002 18:09:16
Bang Jun-Young wrote:
>
> CPY_START = row * N_COLS;
> CPY_END = CPY_START + (N_COLS - 1);
> ...
> MOUSE_FLAGS |= MOUSE_VISIBLE;
>
> They are defined in wsmoused.h as follows:
>
> #define CPY_START (sc->sc_focus->cpy_start)
> #define MOUSE_FLAGS (sc->sc_focus->mouse_flags)
Oh god, code like that is trully horrid!
Please don't put that where I might EVER have to work out what is going
on.
David