Skip to content

Commit

Permalink
Recognize single > as a prompt in doscon
Browse files Browse the repository at this point in the history
  • Loading branch information
hroncok committed Sep 22, 2017
1 parent d84d14f commit 5fdcc3e
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 @@ -518,7 +518,7 @@ class MSDOSSessionLexer(ShellSessionBaseLexer):
mimetypes = []

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


Expand Down

0 comments on commit 5fdcc3e

Please sign in to comment.