File tree 3 files changed +3
-4
lines changed
3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ IrsCall keyboard_callback() {
99
99
// tty_print(str);
100
100
// tty_print("\n");
101
101
if (ctrl_down && code == 18 ) {
102
- tty_print ("\n\nTurning off cpu ... Bye!\n" );
102
+ tty_print ("\n\n> Turning off the CPU ... Bye!\n" );
103
103
die ();
104
104
}
105
105
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ Void main() {
34
34
35
35
tty_print ("MyOs Kernel\n" );
36
36
tty_print ("Copyright (C) 2021 Redwan. All rights reserved.\n" );
37
- tty_print ("> " );
37
+ tty_print ("\n > " );
38
38
39
39
40
40
return ;
Original file line number Diff line number Diff line change @@ -187,7 +187,6 @@ Void tty_print(
187
187
188
188
if (* stemp == 0xA || * stemp == '\n' ) {
189
189
190
- // prev_line_cur[cur / 80] = cur;
191
190
__tty_putc (' ' , cur , RESET );
192
191
cur += 80 - (cur % 80 );
193
192
continue ;
@@ -197,7 +196,6 @@ Void tty_print(
197
196
198
197
__tty_putc (' ' , cur , RESET );
199
198
cur -= (cur % 80 );
200
- __tty_putc (' ' , cur , SET );
201
199
continue ;
202
200
}
203
201
@@ -225,6 +223,7 @@ Void tty_print(
225
223
continue ;
226
224
}
227
225
226
+ __tty_putc (' ' , cur , RESET );
228
227
__tty_putc (* stemp , cur ++ , NONE );
229
228
230
229
}
You can’t perform that action at this time.
0 commit comments