CheerpX.Linux#setActivateConsole
Manage virtual terminal switching within CheerpX
Parameters
- callback (
((idx: number) => void)
) - A function that gets called with the index(idx)
of the virtual terminal that needs activation.
Returns
setActivateConsole
returns a function of type (idx: number) => void
. This returned function should be called to complete the virtual terminal activation process.