mirror of
https://github.com/php/php-src.git
synced 2025-08-19 17:04:47 +02:00
...
This commit is contained in:
parent
af3d792c78
commit
b6de073b00
3 changed files with 24 additions and 28 deletions
|
@ -72,11 +72,10 @@ public class JTerminalPane extends JTextPane {
|
|||
SimpleAttributeSet.EMPTY, StyleConstants.Foreground, c);
|
||||
setCharacterAttributes(aset, false);
|
||||
replaceSelection(s);
|
||||
setCaretPosition(
|
||||
(getDocument().getLength() > 0) ? (getDocument().getLength() - 1) : 0);
|
||||
setCaretPosition(getDocument().getLength());
|
||||
}
|
||||
|
||||
public void appendANSI(String s) {
|
||||
public synchronized void appendANSI(String s) {
|
||||
int aPos = 0;
|
||||
int aIndex;
|
||||
int mIndex;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue