*
* The MIT License (MIT)
*
- * Copyright (C) 2016 Kevin Lamonte
+ * Copyright (C) 2017 Kevin Lamonte
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
for (int i = x; i < width; i++) {
assert (logical[i][y].isBlank());
- // Physical is always updatesd
+ // Physical is always updated
physical[i][y].reset();
}
terminal.getOutput().write(result);
terminal.flush();
}
+
+ /**
+ * Set the window title.
+ *
+ * @param title the new title
+ */
+ public void setTitle(final String title) {
+ terminal.getOutput().write(terminal.setTitle(title));
+ terminal.flush();
+ }
+
}