Skip to content

Commit

Permalink
Merged in hroncok/pygments-main/doscon_prompt (pull request #734)
Browse files Browse the repository at this point in the history
Recognize single > as a prompt in doscon
  • Loading branch information
Anteru committed May 9, 2019
2 parents 93b15ec + 5fdcc3e commit c6813e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pygments/lexers/shell.py
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ class MSDOSSessionLexer(ShellSessionBaseLexer):
mimetypes = []

_innerLexerCls = BatchLexer
_ps1rgx = r'^([^>]+>)(.*\n?)'
_ps1rgx = r'^([^>]*>)(.*\n?)'
_ps2 = 'More? '


Expand Down

0 comments on commit c6813e3

Please sign in to comment.