So I have started working on a "new School" MUDD using impact and Node.js. Going for a old school feeling of text based command but adding in some graphics and things. Working on a new way to play muds but trying to keep the old elements.

My question is does anyone have any good ideas on how to get the input working inside of the canvas and Impact Draw state. I have a few ways to possibly do it but I thought I would reach out to others and see if maybe there is a better way. I want it all done inside of the canvas element as to size and position the same.