{"action":"opened","issue":{"url":"https://api.github.com/repos/micropython/micropython/issues/4196","repository_url":"https://api.github.com/repos/micropython/micropython","labels_url":"https://api.github.com/repos/micropython/micropython/issues/4196/labels{/name}","comments_url":"https://api.github.com/repos/micropython/micropython/issues/4196/comments","events_url":"https://api.github.com/repos/micropython/micropython/issues/4196/events","html_url":"https://github.com/micropython/micropython/issues/4196","id":365004799,"node_id":"MDU6SXNzdWUzNjUwMDQ3OTk=","number":4196,"title":"BUG -- initial prompt on connect is always \">>> \", even for paste (and raw) mode","user":{"login":"Hermann-SW","id":12639134,"node_id":"MDQ6VXNlcjEyNjM5MTM0","avatar_url":"https://avatars1.githubusercontent.com/u/12639134?v=4","gravatar_id":"","url":"https://api.github.com/users/Hermann-SW","html_url":"https://github.com/Hermann-SW","followers_url":"https://api.github.com/users/Hermann-SW/followers","following_url":"https://api.github.com/users/Hermann-SW/following{/other_user}","gists_url":"https://api.github.com/users/Hermann-SW/gists{/gist_id}","starred_url":"https://api.github.com/users/Hermann-SW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hermann-SW/subscriptions","organizations_url":"https://api.github.com/users/Hermann-SW/orgs","repos_url":"https://api.github.com/users/Hermann-SW/repos","events_url":"https://api.github.com/users/Hermann-SW/events{/privacy}","received_events_url":"https://api.github.com/users/Hermann-SW/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-28T19:01:18Z","updated_at":"2018-09-28T19:01:18Z","closed_at":null,"author_association":"NONE","body":"I bringing MicroPython into paste mode and disconnecting then, initial prompt on next WebREPL connect is wrong. The prompt is \">>> \" although MicroPython is in paste mode as can be seen in screenshot. The mode is wrong as well if the module gets into raw mode (eg. by screen session). Initial prompt then is \">>> \" as well.\r\n\r\nSince MicroPython should know its mode on connect, it should present the correct initial prompt:\r\n<img src=\"https://stamm-wilbrandt.de/en/forum/webrepl.initial_prompt.wrong.png\"/>"}}
{"actor":{"display_login":"Hermann-SW"}}