Uh oh!
There was an error while loading. Please reload this page.
repl: Adding code for handling multiline history - #22153
Conversation
antsmartian
commented
Aug 6, 2018
Ok looks interesting, test on my mac works perfectly fine. Not sure why CI build is failing though 😕 |
maclover7
commented
Aug 10, 2018
cc @nodejs/repl |
BridgeAR
commented
Sep 5, 2018
It would be great to get multi line support in the repl. I guess the approach itself is fine for as a first start. Looping in @jdalton. You seemed to have interest in the repl as well. |
antsmartian
commented
Sep 6, 2018
Uh oh!
There was an error while loading. Please reload this page.
8093905 to
80084b4Compare80084b4 to
53c5a8bCompareThere was a problem hiding this comment.
My bad, yes did for debugging. Will remove them and update the PR with test cases :)
53c5a8b to
29b5c6eCompareantsmartian
commented
Sep 29, 2018
@jdalton Have removed the console statement also added the test. Can you please have a look at it? |
antsmartian
commented
Oct 4, 2018
@jdalton Can you kindly loop in other folks who also needs to approve this PR before it will get merged? Thanks! |
jdalton
commented
Oct 4, 2018
Friendly re-ping of @nodejs/repl 🔊 |
There was a problem hiding this comment.
nit: this really shouldn't need the exclusion... just go ahead and wrap.
There was a problem hiding this comment.
@jasnell Sure, will take care and push the change. Thanks!
29b5c6e to
ee6cce4Compare@jasnell : Addressed your review comments. |
ee6cce4 to
097a770Compareantsmartian
commented
Oct 14, 2018
jasnell
commented
Oct 14, 2018
There shouldn't be anything else. A lot of us have been tied up this week with a conference. Hopefully this will be landed here soon |
lundibundi
commented
Oct 26, 2018
lundibundi
commented
Oct 26, 2018
Friendly ping @nodejs/repl if anyone wants to take another look as quite some time has passed. |
antsmartian
commented
Nov 1, 2018
Uh oh!
There was an error while loading. Please reload this page.
097a770 to
f69c51aComparef69c51a to
ce91b4dComparejdalton
commented
Nov 2, 2018
This looks more like a bug fix to me. |
PR-URL: nodejs#22153 Reviewed-By: John-David Dalton <john.david.dalton@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Trott
commented
Nov 2, 2018
Landed in dd7a3d2 |
antsmartian
commented
Nov 3, 2018
Thanks everyone! |
PR-URL: #22153 Reviewed-By: John-David Dalton <john.david.dalton@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
antsmartian
commented
Nov 5, 2018
@targos I think this can be backported to |
targos
commented
Nov 20, 2018
If this is backported to v10.x, it should be done with #24389 |
antsmartian
commented
Nov 20, 2018
I guess we are good here, I couldn't see the code in |
MylesBorins
commented
Nov 27, 2018
This seems like it should perhaps have been Semver-Minor... is that a correct assumption? |
I always wanted to handle multiline history separately. For example, if I enter a multiline statement and then navigate between the history(s), its very annoying as it shows each line, but I expect it to show the executed line.
This is work in progress, but yeah its working and all test cases are passing. I need to handle fewmore cases and write a unit test case. But thought, what others think over this? May be there is alsoa better way to do it.Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes