nterminal 1.2.18 → 1.2.20
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.
- package/dist/client/assets/{MarkdownPreview-BfwhfniS.js → MarkdownPreview-Bmnfh7i1.js} +1 -1
- package/dist/client/assets/index-BhgfuYRC.js +44 -0
- package/dist/client/assets/index-Bn9wY00Z.css +1 -0
- package/dist/client/index.html +2 -2
- package/dist/scripts/onboarding.js +2 -1
- package/dist/scripts/onboarding.js.map +1 -1
- package/dist/server/auth/authService.js +10 -1
- package/dist/server/auth/authService.js.map +1 -1
- package/dist/server/routes/updateRoutes.js +1 -0
- package/dist/server/routes/updateRoutes.js.map +1 -1
- package/dist/server/storage/fileStore.js +0 -3
- package/dist/server/storage/fileStore.js.map +1 -1
- package/package.json +3 -2
- package/scripts/nterminal-tmux.conf +35 -0
- package/dist/client/assets/index-8FTmdvif.js +0 -44
- package/dist/client/assets/index-B3-WG4Tf.css +0 -1
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# Minimal tmux configuration for NTerminal's transparent persistence layer.
|
|
2
|
+
#
|
|
3
|
+
# Operators do not see tmux — NTerminal wraps each PTY in a tmux session on
|
|
4
|
+
# a dedicated socket (-L nterminal) so PTYs survive `nterminalctl restart`
|
|
5
|
+
# and NTerminal version updates without losing the shell or its state. The
|
|
6
|
+
# trade-off is that an OS reboot still kills everything because tmux's own
|
|
7
|
+
# server dies with the host.
|
|
8
|
+
#
|
|
9
|
+
# This config strips every tmux UI affordance so the experience matches a
|
|
10
|
+
# raw shell — no status bar, no key bindings, no mouse capture. An operator
|
|
11
|
+
# who types Ctrl-b should see no effect, just like in a normal terminal.
|
|
12
|
+
|
|
13
|
+
# Pass terminal mouse events straight through to xterm.js so the operator's
|
|
14
|
+
# scroll and drag selection behave like a raw shell (this is the main reason
|
|
15
|
+
# operators avoid running tmux themselves; wrapping invisibly only works if
|
|
16
|
+
# we don't introduce that override).
|
|
17
|
+
set -g mouse off
|
|
18
|
+
|
|
19
|
+
# Hide the bottom status line — it's the most visible "you're in tmux" hint.
|
|
20
|
+
set -g status off
|
|
21
|
+
|
|
22
|
+
# Don't wait for Esc to be the start of a key sequence; pass it through
|
|
23
|
+
# instantly so vim-style apps don't feel laggy.
|
|
24
|
+
set -g escape-time 0
|
|
25
|
+
|
|
26
|
+
# Keep a generous scrollback per-session for browser-refresh reattach.
|
|
27
|
+
set -g history-limit 100000
|
|
28
|
+
|
|
29
|
+
# Default terminal type — xterm.js advertises this, so it matches.
|
|
30
|
+
set -g default-terminal "xterm-256color"
|
|
31
|
+
|
|
32
|
+
# Unbind every default key binding (including the Ctrl-b prefix's menu
|
|
33
|
+
# bindings) so accidentally hitting tmux shortcuts is a no-op rather than a
|
|
34
|
+
# surprise.
|
|
35
|
+
unbind-key -a
|