summary refs log tree commit diff
path: root/v2/screen/login.ts
diff options
context:
space:
mode:
Diffstat (limited to 'v2/screen/login.ts')
-rw-r--r--v2/screen/login.ts9
1 files changed, 9 insertions, 0 deletions
diff --git a/v2/screen/login.ts b/v2/screen/login.ts
index 525127b..bc39655 100644
--- a/v2/screen/login.ts
+++ b/v2/screen/login.ts
@@ -17,6 +17,10 @@ export default {
             data: [false]
         },
         {
+            type: ElemType.BR,
+            id: 'naoiuou'
+        },
+        {
             type: ElemType.TextElem,
             id: 'password-label',
             data: ["Password: \n"]
@@ -27,9 +31,14 @@ export default {
             data: [true]
         },
         {
+            type: ElemType.BR,
+            id: 'faij0ifsj'
+        },
+        {
             type: ElemType.ButtonElem,
             id: 'done-btn',
             data: ["Done", async function (this: Screen) {
+                client.setScreen(this)
                 this.off()
                 this.logs.push(`clicked button`)
                 console.clear()