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
TTerminalWindow sixel support wip
[nikiroo-utils.git]
/
src
/
jexer
/
demos
/
DemoEditorWindow.java
diff --git
a/src/jexer/demos/DemoEditorWindow.java
b/src/jexer/demos/DemoEditorWindow.java
index 59bc9f0fc48fbae45e4845f3da4b9722101c0afc..87798fb3f4b08d5ca6f684dc44928143f57aa35b 100644
(file)
--- a/
src/jexer/demos/DemoEditorWindow.java
+++ b/
src/jexer/demos/DemoEditorWindow.java
@@
-72,7
+72,7
@@
public class DemoEditorWindow extends TWindow {
final String text) {
super(parent, title, 0, 0, 44, 22, RESIZABLE);
final String text) {
super(parent, title, 0, 0, 44, 22, RESIZABLE);
- editField =
new TEditorWidget(this,
text, 0, 0, 42, 20);
+ editField =
addEditor(
text, 0, 0, 42, 20);
statusBar = newStatusBar(i18n.getString("statusBar"));
statusBar.addShortcutKeypress(kbF1, cmHelp,
statusBar = newStatusBar(i18n.getString("statusBar"));
statusBar.addShortcutKeypress(kbF1, cmHelp,