summaryrefslogtreecommitdiff
path: root/pygments/lexers/agile.py
diff options
context:
space:
mode:
Diffstat (limited to 'pygments/lexers/agile.py')
-rw-r--r--pygments/lexers/agile.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/pygments/lexers/agile.py b/pygments/lexers/agile.py
index f518379a..1dfd80df 100644
--- a/pygments/lexers/agile.py
+++ b/pygments/lexers/agile.py
@@ -195,6 +195,11 @@ class PythonConsoleLexer(Lexer):
insertions.append((len(curcode),
[(0, Generic.Prompt, line[:4])]))
curcode += line[4:]
+ elif line.rstrip() == '...':
+ tb = 0
+ insertions.append((len(curcode),
+ [(0, Generic.Prompt, '...')]))
+ curcode += line[3:]
else:
if curcode:
for item in do_insertions(insertions,