Fix a number of typos in documentation/comments.
[jackhill/mal.git] / basic / cbmbasic_console.patch
1 diff --git a/runtime.c b/runtime.c
2 index 3066580..c635bd4 100644
3 --- a/runtime.c
4 +++ b/runtime.c
5 @@ -535,7 +535,8 @@ printf("CHROUT: %d @ %x,%x,%x,%x\n", A, a, b, c, d);
6 left_cursor();
7 break;
8 case '"':
9 - kernal_quote = 1;
10 + // jdm: this doesn't match C64 behavior
11 + //kernal_quote = 1;
12 // fallthrough
13 default:
14 putchar(A);
15 @@ -838,8 +839,10 @@ GETIN() {
16 /*Notice that EOF is also turned off in non-canonical mode*/
17 A = getchar();
18 if (A == 255) { A = 4; } // map actual EOF to 4
19 +
20 + // jdm: this doesn't match C64 behavior
21 /* Simulate echo */
22 - if (A != 0 && A != 4) { putchar(A); }
23 + //if (A != 0 && A != 4) { putchar(A); }
24
25 /*restore the old settings*/
26 tcsetattr( STDIN_FILENO, TCSANOW, &oldt);