Esc

send_command

procedureextensionexperimentalsince 0.36.1Source
  • macOS: send_command works on macOS
  • Linux: send_command works on Linux
  • Windows: send_command works on Windows
  • Wasm: send_command is not available on Wasm

Queues a command from a menu item with no keyboard equivalent. Read its action in ui.input.keys during the next frame. This also supports windowless menu-routing tests.

Signature

send_command :: (ui: *UI_State, action: u16)

See also