HomeFreeBSD

vt(4): Fix keyboard allocation when kbdmux(4) isn't used

Description

vt(4): Fix keyboard allocation when kbdmux(4) isn't used

The problem was that only the kbdmux keyboard index was saved in
vd->vd_keyboard. This index is -1 when kbdmux isn't used. In this
case, the keyboard was correctly allocated, but the returned index was
discarded.

PR: 194718
MFC of: r273973

Details

Provenance
dumbbellAuthored on
Parents
rS274860: vt(4): Adjust the cursor position after changing the window size
Branches
Unknown
Tags
Unknown

Event Timeline