diff --git a/src/jexer/TText.java b/src/jexer/TText.java index 4f04ed4..05f98e4 100644 --- a/src/jexer/TText.java +++ b/src/jexer/TText.java @@ -352,7 +352,7 @@ public class TText extends TScrollableWidget { } /** - * Convenience method used by TWindowLoggerOutput. + * Add one line. * * @param line new line to add */ @@ -446,4 +446,14 @@ public class TText extends TScrollableWidget { reflowData(); } + /** + * Set the number of lines between each paragraph. + * + * @param lineSpacing the number of blank lines between paragraphs + */ + public void setLineSpacing(final int lineSpacing) { + this.lineSpacing = lineSpacing; + reflowData(); + } + }