{"action":"created","issue":{"url":"https://api.github.com/repos/evennia/evennia/issues/949","repository_url":"https://api.github.com/repos/evennia/evennia","labels_url":"https://api.github.com/repos/evennia/evennia/issues/949/labels{/name}","comments_url":"https://api.github.com/repos/evennia/evennia/issues/949/comments","events_url":"https://api.github.com/repos/evennia/evennia/issues/949/events","html_url":"https://github.com/evennia/evennia/issues/949","id":147413158,"number":949,"title":"Unable to use \"l\" as an option in a default EvMenu","user":{"login":"shollen","id":10000870,"avatar_url":"https://avatars.githubusercontent.com/u/10000870?v=3","gravatar_id":"","url":"https://api.github.com/users/shollen","html_url":"https://github.com/shollen","followers_url":"https://api.github.com/users/shollen/followers","following_url":"https://api.github.com/users/shollen/following{/other_user}","gists_url":"https://api.github.com/users/shollen/gists{/gist_id}","starred_url":"https://api.github.com/users/shollen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shollen/subscriptions","organizations_url":"https://api.github.com/users/shollen/orgs","repos_url":"https://api.github.com/users/shollen/repos","events_url":"https://api.github.com/users/shollen/events{/privacy}","received_events_url":"https://api.github.com/users/shollen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-11T12:35:41Z","updated_at":"2016-04-11T12:48:10Z","closed_at":null,"body":"EvMenu redisplays a node when the single letter 'l' is supplied as input to a default EvMenu node. \r\n\r\n1) To reproduce the \"bug,\" set up a default node, like...\r\n```\r\ndef node0(caller):\r\n    caller.msg(\"\\nWhat is your first name?\")\r\n    options = ({\"key\": \"_default\",\r\n                \"goto\": \"node1\"})\r\n    return 'test', options\r\n```\r\n2) Start your menu with the @py command: @py from evennia.utils.evmenu import EvMenu; EvMenu(self, \"path to the module containing node0\", startnode=\"node0\")\r\n\r\nInstead of moving on to node1 with 'l' as the raw_string, the code redisplays 'test' and leaves execution in node0.\r\n\r\nI'm using the latest version of Evennia on OSX 10.11.3.\r\n"},"comment":{"url":"https://api.github.com/repos/evennia/evennia/issues/comments/208322810","html_url":"https://github.com/evennia/evennia/issues/949#issuecomment-208322810","issue_url":"https://api.github.com/repos/evennia/evennia/issues/949","id":208322810,"user":{"login":"Griatch","id":294267,"avatar_url":"https://avatars.githubusercontent.com/u/294267?v=3","gravatar_id":"","url":"https://api.github.com/users/Griatch","html_url":"https://github.com/Griatch","followers_url":"https://api.github.com/users/Griatch/followers","following_url":"https://api.github.com/users/Griatch/following{/other_user}","gists_url":"https://api.github.com/users/Griatch/gists{/gist_id}","starred_url":"https://api.github.com/users/Griatch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Griatch/subscriptions","organizations_url":"https://api.github.com/users/Griatch/orgs","repos_url":"https://api.github.com/users/Griatch/repos","events_url":"https://api.github.com/users/Griatch/events{/privacy}","received_events_url":"https://api.github.com/users/Griatch/received_events","type":"User","site_admin":false},"created_at":"2016-04-11T12:48:10Z","updated_at":"2016-04-11T12:48:10Z","body":"I would think the string \"look\" causes the same effect. Also \"q\" and \"quit\" will exit the menu with this configuration. This is expected behavior with the current design: the idea being that one should always be able to re-show the node or quit the menu regardless of the state one is in. \r\n\r\nThe automatic `q/uit` command can be turned off when initializing the evmenu, but `l/ook` currently cannot. Maybe the best way to handle this is to allow the user to turn off the auto-look in the same way. That means it's up to the menu creator to handle how nodes are re-shown. "}}