termites 1.0.6 → 1.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/server.js +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "termites",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "Web terminal with server-client architecture for remote shell access",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/server.js CHANGED
@@ -634,7 +634,7 @@ class TermitesServer {
634
634
  /* Mobile toolbar */
635
635
  .mobile-toolbar {
636
636
  display: none; flex-shrink: 0; padding: 6px 8px; gap: 6px;
637
- border-bottom: 1px solid; overflow-x: auto; -webkit-overflow-scrolling: touch;
637
+ border-top: 1px solid; overflow-x: auto; -webkit-overflow-scrolling: touch;
638
638
  }
639
639
  .mobile-toolbar.show { display: flex; }
640
640
  .mobile-toolbar button {
@@ -708,6 +708,7 @@ class TermitesServer {
708
708
  <button class="menu-btn" id="menu-btn"><span></span><span></span><span></span></button>
709
709
  <div class="header-title" id="header-title"><span class="no-client">Not connected</span></div>
710
710
  </div>
711
+ <div id="terminal-container"></div>
711
712
  <div class="mobile-toolbar" id="mobile-toolbar">
712
713
  <button data-key="Escape">Esc</button>
713
714
  <button data-key="Tab">Tab</button>
@@ -723,7 +724,6 @@ class TermitesServer {
723
724
  <button data-seq="\\x04">^D</button>
724
725
  <button data-seq="\\x1a">^Z</button>
725
726
  </div>
726
- <div id="terminal-container"></div>
727
727
 
728
728
  <script src="https://cdn.jsdelivr.net/npm/xterm@5.3.0/lib/xterm.min.js"></script>
729
729
  <script src="https://cdn.jsdelivr.net/npm/xterm-addon-fit@0.8.0/lib/xterm-addon-fit.min.js"></script>