-
Enhancement
-
Resolution: Won't Fix
-
P4
-
9
A past declaration can be recalled for pop-up editing by name.
But this can't be done for command-line editing. You can use repeated up-arrows, but if your session is long this is impractical.
int square(int x) { return x + x; }
...
jshell> /get square
int square(int x) { return x * x; }
But this can't be done for command-line editing. You can use repeated up-arrows, but if your session is long this is impractical.
int square(int x) { return x + x; }
...
jshell> /get square
int square(int x) { return x * x; }