vt_update_kbd_state
error = vt_update_kbd_state(vw, kbd);
vt_update_kbd_state(vd->vd_curwindow, kbd);
vt_update_kbd_state(vw, kbd);