We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0b4f70 commit 6fcf987Copy full SHA for 6fcf987
terminal/src/main/java/org/jline/terminal/Terminal.java
@@ -180,8 +180,21 @@ interface SignalHandler {
180
181
boolean echo(boolean echo);
182
183
+ /**
184
+ * Returns the terminal attributes.
185
+ * The returned object can be safely modified
186
+ * further used in a call to {@link #setAttributes(Attributes)}.
187
+ *
188
+ * @return the terminal attributes.
189
+ */
190
Attributes getAttributes();
191
192
193
+ * Set the terminal attributes.
194
+ * The terminal will perform a copy of the given attributes.
195
196
+ * @param attr the new attributes
197
198
void setAttributes(Attributes attr);
199
200
/**
0 commit comments