{"action":"created","issue":{"url":"https://api.github.com/repos/jashkenas/coffeescript/issues/3433","repository_url":"https://api.github.com/repos/jashkenas/coffeescript","labels_url":"https://api.github.com/repos/jashkenas/coffeescript/issues/3433/labels{/name}","comments_url":"https://api.github.com/repos/jashkenas/coffeescript/issues/3433/comments","events_url":"https://api.github.com/repos/jashkenas/coffeescript/issues/3433/events","html_url":"https://github.com/jashkenas/coffeescript/pull/3433","id":29894789,"number":3433,"title":"Let the REPL be rlwrap-friendly by passing NODE_NO_READLINE=1","user":{"login":"epidemian","id":722544,"avatar_url":"https://avatars3.githubusercontent.com/u/722544?v=3","gravatar_id":"","url":"https://api.github.com/users/epidemian","html_url":"https://github.com/epidemian","followers_url":"https://api.github.com/users/epidemian/followers","following_url":"https://api.github.com/users/epidemian/following{/other_user}","gists_url":"https://api.github.com/users/epidemian/gists{/gist_id}","starred_url":"https://api.github.com/users/epidemian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epidemian/subscriptions","organizations_url":"https://api.github.com/users/epidemian/orgs","repos_url":"https://api.github.com/users/epidemian/repos","events_url":"https://api.github.com/users/epidemian/events{/privacy}","received_events_url":"https://api.github.com/users/epidemian/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2014-03-21T11:51:16Z","updated_at":"2017-04-20T06:03:27Z","closed_at":"2017-04-20T06:03:27Z","pull_request":{"url":"https://api.github.com/repos/jashkenas/coffeescript/pulls/3433","html_url":"https://github.com/jashkenas/coffeescript/pull/3433","diff_url":"https://github.com/jashkenas/coffeescript/pull/3433.diff","patch_url":"https://github.com/jashkenas/coffeescript/pull/3433.patch"},"body":"This is a quick fix for #3399.\n\nBasically, it copies the `node` command and [passes `terminal: false` to the REPL](https://github.com/joyent/node/blob/6cbfcdad46d733bb04332063727e304e449dc86b/src/node.js#L137) if `NODE_NO_READLINE` env var is set.\n\nNow users that prefer to have the nice readline features like <kbd>ctrl</kbd>+<kbd>R</kbd> (history search) can do:\n\n``` bash\nalias coffee=\"env NODE_NO_READLINE=1 rlwrap coffee\"\n```\n\nSide note: may i add a comment with that Bash alias to the changelog so more users can see it? Is there some problem with doing that alias?\n\nShould we also copy the NODE_DISABLE_COLORS (what's up with Node and negated boolean names?) [configuration](https://github.com/joyent/node/blob/6cbfcdad46d733bb04332063727e304e449dc86b/src/node.js#L140)?\n"},"comment":{"url":"https://api.github.com/repos/jashkenas/coffeescript/issues/comments/295592262","html_url":"https://github.com/jashkenas/coffeescript/pull/3433#issuecomment-295592262","issue_url":"https://api.github.com/repos/jashkenas/coffeescript/issues/3433","id":295592262,"user":{"login":"GeoffreyBooth","id":456802,"avatar_url":"https://avatars1.githubusercontent.com/u/456802?v=3","gravatar_id":"","url":"https://api.github.com/users/GeoffreyBooth","html_url":"https://github.com/GeoffreyBooth","followers_url":"https://api.github.com/users/GeoffreyBooth/followers","following_url":"https://api.github.com/users/GeoffreyBooth/following{/other_user}","gists_url":"https://api.github.com/users/GeoffreyBooth/gists{/gist_id}","starred_url":"https://api.github.com/users/GeoffreyBooth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GeoffreyBooth/subscriptions","organizations_url":"https://api.github.com/users/GeoffreyBooth/orgs","repos_url":"https://api.github.com/users/GeoffreyBooth/repos","events_url":"https://api.github.com/users/GeoffreyBooth/events{/privacy}","received_events_url":"https://api.github.com/users/GeoffreyBooth/received_events","type":"User","site_admin":false},"created_at":"2017-04-20T06:03:27Z","updated_at":"2017-04-20T06:03:27Z","body":"I tested this, and @calebcase’s [comment](https://github.com/jashkenas/coffeescript/issues/3399#issuecomment-48385424) still stands:\r\n\r\n> Unfortunately this also disables the colorized output and CTRL-V multiline support. rlwrap’s multi-line support with CTRL-^ is insufficient due to line continuation issues. Trying to trick it with -m’^M’ doesn’t work either (still gets interpreted as a single line)."}}
{"actor":{"display_login":"GeoffreyBooth"}}