git://git.nikiroo.be
/
fanfix.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
TWindowBackend
[fanfix.git]
/
src
/
jexer
/
bits
/
CellAttributes.java
diff --git
a/src/jexer/bits/CellAttributes.java
b/src/jexer/bits/CellAttributes.java
index 36cf700ea7b3da41b045874e6aa59274155dbc56..28dbe31d95637e97a00c0231d7ab7abeefebf13a 100644
(file)
--- a/
src/jexer/bits/CellAttributes.java
+++ b/
src/jexer/bits/CellAttributes.java
@@
-218,6
+218,16
@@
public class CellAttributes {
reset();
}
reset();
}
+ /**
+ * Public constructor makes a copy from another instance.
+ *
+ * @param that another CellAttributes instance
+ * @see #reset()
+ */
+ public CellAttributes(final CellAttributes that) {
+ setTo(that);
+ }
+
/**
* Comparison check. All fields must match to return true.
*
/**
* Comparison check. All fields must match to return true.
*