Skip to content

lib.misc

Miscellaneous helper functions from lib.misc.h

function hotkey_pressed(n: number): boolean

Checks if a given shortcut is currently pressed (see parse_hotkey).

function hotkey_pressed_now(n: number, key: number): boolean

Checks if a shortcut is currently pressed, given that key is already pressed.