inim-repl / INim

Interactive Nim shell / REPL / Playground
MIT License
644 stars 23 forks source link

how do you un-indent for the `else`? #93

Closed unspam closed 4 years ago

unspam commented 4 years ago

Maybe I'm missing something obvious here, but how does one unindent? I'm on MacOS Catalina trying to run inim 0.5.0 over iTerm2 (have also tried Terminal and Alacritty without success).

Backspace doesn't work at the start of the indented line, and it doesn't automatically try to match the else with the if etc. so I end up with erroneous code. I've tried the usual shortcuts to no avail.

Tangdongle commented 4 years ago

Yeah, looks like updating the actual prompt with the indent level is silly. I've submitted a PR for this

Tangdongle commented 4 years ago

@0atman This can be closed with https://github.com/inim-repl/INim/pull/98