Thread View: net.games.hack
1 messages
1 total messages
Started by Kelly Hickel
Wed, 24 Apr 1985 01:54
Re: Space on Input
Author: Kelly Hickel
Date: Wed, 24 Apr 1985 01:54
Date: Wed, 24 Apr 1985 01:54
25 lines
1024 bytes
1024 bytes
Here is a fix to the problem where you cannot type in a space:
<original code>
while(bufp != obufp) {
bufp--;
putstr("\b \b");
}
****** } else if(isprint(c)) { ******
*bufp = c;
bufp[1] = 0;
putstr(bufp);
<new code (starred line)>
while(bufp != obufp) {
bufp--;
putstr("\b \b");
}
***** } else if(isprint(c) || c == ' ') { ****
*bufp = c;
bufp[1] = 0;
putstr(bufp);
Kelly Hickel
ARPA: hickel@cmu-ri-vi.arpa
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads