Merge pull request #806 from geertu/bios-improvements
Bios improvements
This commit is contained in:
commit
b9bc1d8457
|
@ -190,7 +190,7 @@ int readline(char *buf, int len)
|
||||||
unsigned int eol_num = 0;
|
unsigned int eol_num = 0;
|
||||||
unsigned int wlen;
|
unsigned int wlen;
|
||||||
int insert = 1;
|
int insert = 1;
|
||||||
char ichar;
|
unsigned char ichar;
|
||||||
|
|
||||||
#ifndef TERM_NO_COMPLETE
|
#ifndef TERM_NO_COMPLETE
|
||||||
char tmp;
|
char tmp;
|
||||||
|
|
|
@ -75,10 +75,7 @@ int readchar_nonblock(void)
|
||||||
|
|
||||||
int puts(const char *s)
|
int puts(const char *s)
|
||||||
{
|
{
|
||||||
while(*s) {
|
putsnonl(s);
|
||||||
putchar(*s);
|
|
||||||
s++;
|
|
||||||
}
|
|
||||||
putchar('\n');
|
putchar('\n');
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue