Synchronize with sys/i386/isa/syscons.c revision 1.200.
This commit is contained in:
parent
e3fff67ef1
commit
85d99346bd
@ -3922,7 +3922,16 @@ scgetc(u_int flags)
|
||||
metas = 1;
|
||||
break;
|
||||
case NEXT:
|
||||
switch_scr(cur_console, (get_scr_num() + 1) % MAXCONS);
|
||||
{
|
||||
int next, this = get_scr_num();
|
||||
for (next = this+1; next != this; next = (next+1)%MAXCONS) {
|
||||
struct tty *tp = VIRTUAL_TTY(next);
|
||||
if (tp->t_state & TS_ISOPEN) {
|
||||
switch_scr(cur_console, next);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
case BTAB:
|
||||
return(BKEY);
|
||||
|
Loading…
Reference in New Issue
Block a user