Просмотр исходного кода

Add TODO.md, Move JS to end of HTML body

Weiyi Lou 10 лет назад
Родитель
Сommit
6138b94604
2 измененных файлов с 13 добавлено и 3 удалено
  1. 9 0
      TODO.md
  2. 4 3
      index.html

+ 9 - 0
TODO.md

@@ -0,0 +1,9 @@
+# TODO
+
+- Partial 'readline' support with `onkeypress`/`onkeydown`?
+  - `<C-a>`, `<C-e>`, `<C-w>`(?), up, down
+  - Should we attempt `<C-z>` for Suspend mode?
+- Prompt disable/keystroke pass-through to shell
+  - e.g. can you maybe make a rogue like?
+- Display partial redraw, or give more fine-grain display access?
+  - split all display items into lines?

+ 4 - 3
index.html

@@ -6,13 +6,14 @@
       pgsh
     </title>
     <link rel='stylesheet' type='text/css' href='css/style.css' />
+  </head>
+  <body>
+    <terminal shell='pgsh'></terminal>
+
     <script src='js/vendor/riot+compiler.min.js'></script>
     <script src='js/vendor/he.js'></script>
     <script src='js/pgsh.js'></script>
     <script src='tags/terminal.tag' type='riot/tag'></script>
     <script>riot.mount('terminal')</script>
-  </head>
-  <body>
-    <terminal shell='pgsh'></terminal>
   </body>
 </html>