# sagetex linebreak

When using the environment sagecommandline of sagetex with long number output, how can I get automatic line breaks? I already tried to change sagetex.sty (putting breaklines=true at several places), but nothing changed. Here is my minimal example: (p.s. I asked the same question also on tex.stackexchange)

```
\documentclass[
a6paper, 11pt, oneside,
english,ngerman]{scrartcl}
% !TEX TS-program = sage
% !TEX encoding = UTF-8 Unicode
\usepackage[headsep=0cm,footskip=1.5em,includeheadfoot=true,
top=0cm,bottom=0cm,left=.5cm,right=.5cm,]{geometry}
\usepackage{sagetex}
\lstdefinestyle{SageOutput}{style=DefaultSageOutput,breaklines=true}
\begin{document}
\begin{sagecommandline}
sage: factorial(100)+1
sage: factorial(50)+1
sage: factorial(10)
\end{sagecommandline}
\end{document}
```