Environment:
- Windows 11
- SDK & Simulator version
2.0.3
Expect the console to log a message via the print()
function.
Code taken from the Inside Playdate document:
local menu = playdate.getSystemMenu()
local menuItem, error = menu:addMenuItem("Item 1", function()
print("Item 1 selected")
end)
local checkmarkMenuItem, error = menu:addCheckmarkMenuItem("Item 2", true, function(value)
print("Checkmark menu item value changed to: ", value)
end)
function playdate.update()
end
No log is shown in the console.