Modify multiline command line syntax to require >. #111

Open
wants to merge 1 commit into
from

Projects

None yet

2 participants

@mudge
Contributor
mudge commented Aug 12, 2011

This makes multiline commands more consistent with real console output
and other parsers such as Pygments' "console" syntax.

@mudge mudge Modify multiline command line syntax to require >.
This makes multiline commands more consistent with real console output
and other parsers such as Pygments' "console" syntax.
0fc6e71
@schacon
Owner
schacon commented Sep 10, 2011

hm, i'm torn - this is more accurate but it doesn't look as good to me

@mudge
Contributor
mudge commented Sep 11, 2011

I agree, aesthetically hiding the starting ">" might look better but it does mean that you can't copy and paste from most shells. For me, the fact that Pygments has a console syntax that uses ">" swung it under the auspices of being more consistent (c.f. https://bitbucket.org/birkenfeld/pygments-main/src/d62d0de72f0f/pygments/lexers/other.py#cl-434 )

@schacon
Owner
schacon commented Sep 11, 2011

hmm, that's a good point - they copy/paste thing is big for me, though normally i can copy it from one line but then have to modify it in the slide because i have more space in my terminal than i do on the slide screen. what if we colored the ">" to be dimmer, like a light grey or something so it didn't stand out so much?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment