crystal-community / icr

Interactive console for Crystal programming language
MIT License
506 stars 40 forks source link

add simple-prompt option #96

Closed KINGSABRI closed 6 years ago

KINGSABRI commented 6 years ago

hello there

would you please implement --simple-prompt option which hides icr(0.24.2) > to be just > or make an option to specify the prompt itself

Thanks!

jwoertink commented 6 years ago

Hey, thanks for your suggestion!

Do you have an example use case for this? Or maybe some reasoning behind the motivation for this feature? If you're just looking for aesthetics, icr currently supports a paste function which removes the default_invitation. Though, I don't ever use that feature, so I'm not sure what shape it's in lol.

KINGSABRI commented 6 years ago

Hey! This feature is implemented in irb and pry it makes the screen cleaner to work with especially when you explain, recording things

Of course, there are many other/more important features like autocomplete but I understand the efforts you guys trying to do.

Thanks you

jwoertink commented 6 years ago

wow, I never knew either of those had that option. If that's the case, I think this could be a valid option. It shouldn't be too difficult to add either.

veelenga commented 6 years ago

I will take care of it if you don't mind. Will create a PR soon