Description
I don't know if this is possible, but Martin brought this up the other day. Why not just automatically call :clear after an Exception has been through to get the Console back into an orderly state.
I don't know if this is possible, but Martin brought this up the other day. Why not just automatically call :clear after an Exception has been through to get the Console back into an orderly state.
I'd be OK with this I think. Of course, I do tend to do this sometimes:
gremlin> 1 + gremlin> x No such property: x for class: groovysh_evaluate Display stack trace? [yN] n gremlin> 1 ==>2
If we auto-cleared the buffer, I'd have to re-enter my stuff rather than just recover. Of course, I could just up-arrow the history to get it back i suppose.
I tend to do this too:
gremlin> 1 + gremlin> x No such property: x for class: groovysh_evaluate Display stack trace? [yN] n gremlin> :d 000> 1 + gremlin> 1 ==>2
:d inspects the buffer so you can see what the heck you have hanging around in there. I guess these are not things that new users would know about though.....