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.
@@ -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