TUI: lib: editor -> field
authorNiki Roo <niki@nikiroo.be>
Thu, 7 Mar 2019 06:55:27 +0000 (07:55 +0100)
committerNiki Roo <niki@nikiroo.be>
Thu, 7 Mar 2019 06:55:27 +0000 (07:55 +0100)
src/be/nikiroo/fanfix/reader/tui/TuiReaderMainWindow.java

index bb2c80d5cbb7290f393df79c44c949aadbb37f60..528ee3dc881540505a9c675379071a37e52fadac 100644 (file)
@@ -58,9 +58,7 @@ class TuiReaderMainWindow extends TWindow {
                                null);
 
                addLabel("Search: ", 5, 3);
-               addEditor("...", 15, 3, 12, 1); // TODO: cannot see where to type, ^H
-                                                                               // not working, TAB insert a TAB (cannot
-                                                                               // switch to next)
+               addField(15, 3, 12, true);
 
                list = addList(listItems, 0, 5, getWidth(), getHeight(), new TAction() {
                        @Override