JShell by default enables a persistent history of everything typed, which can be recalled by pressing the up arrow.
Where is the setting to turn this ❝feature❞ off?
Also, how do I even clear the current history? Maybe I'm dumb but I can't figure out the command. /reset
seems to do nothing.