git://git.nikiroo.be
/
nikiroo-utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cutting v0.0.1
[nikiroo-utils.git]
/
src
/
jexer
/
TApplication.java
diff --git
a/src/jexer/TApplication.java
b/src/jexer/TApplication.java
index 8071ae8edc2a5a0f5762dcdd2d2871db960dbe54..4c55aad9a70f20f83d63fdfb49e9b6b5df8c0e9f 100644
(file)
--- a/
src/jexer/TApplication.java
+++ b/
src/jexer/TApplication.java
@@
-501,7
+501,9
@@
public class TApplication {
doIdle();
// Update the screen
doIdle();
// Update the screen
- drawAll();
+ synchronized (getScreen()) {
+ drawAll();
+ }
}
// Shutdown the consumer threads
}
// Shutdown the consumer threads
@@
-1287,7
+1289,7
@@
public class TApplication {
* @param title menu title
* @return the new menu
*/
* @param title menu title
* @return the new menu
*/
- public final TMenu addMenu(String title) {
+ public final TMenu addMenu(
final
String title) {
int x = 0;
int y = 0;
TMenu menu = new TMenu(this, x, y, title);
int x = 0;
int y = 0;
TMenu menu = new TMenu(this, x, y, title);