X-Git-Url: https://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fjexer%2FTField.java;h=8055a3893563c7c248e10294de546820c6b4b9a3;hb=0d47c5460c8e9d1198928308767a63ad35f46eb8;hp=07a457bcf7eb7beb4e05af9e71f8f782a6cc2227;hpb=d09767633248d79d1abc85f94d03b4102fae3f64;p=fanfix.git diff --git a/src/jexer/TField.java b/src/jexer/TField.java index 07a457b..8055a38 100644 --- a/src/jexer/TField.java +++ b/src/jexer/TField.java @@ -201,7 +201,7 @@ public class TField extends TWidget { end = text.length(); } getScreen().hLineXY(0, 0, getWidth(), GraphicsChars.HATCH, fieldColor); - getScreen().putStrXY(0, 0, text.substring(windowStart, end), + getScreen().putStringXY(0, 0, text.substring(windowStart, end), fieldColor); // Fix the cursor, it will be rendered by TApplication.drawAll().