[comp.sources.games.bugs] mdg - not so easy...

chris@attron.ruhr.sub.org (Christian Schlichtherle) (02/27/91)

Help...
Possibly I'm the only one who has problems installing mdg, because noone
reported any problem so far...

This time the problem is:
mdg_char uses the getch() routine (from terminfo curses library) many
times to read the keyboard, but does not call refresh() before, so I can
see absolutely nothing!!!
Since mdg_char seems to work on other systems, I assume that getch()
calls refresh() automatically on these systems, because otherwise there
would be no output...
My current solution is to call refresh() each time before getch() is
called. I hope this works...

Chris
-- 
Snail: Christian Schlichtherle, Elbscheweg 20, 5802 Wetter 4, Germany
Email: chris@attron.ruhr.sub.org	Tel.: +49 2335 7550
"Der Tod ist ein Meister aus Deutschland" -- Paul Celan