Refactor lem-pdcurses (char-width processing, mouse function, etc.)
Refactor lem-pdcurses (char-width processing, mouse function, etc.)

cxxxr/lem,snmsts/lem,cxxxr/lem,snmsts/lem,cxxxr/lem,snmsts/lem,snmsts/lem,cxxxr/lem