summaryrefslogtreecommitdiff
path: root/term.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-07-01 19:56:21 -0300
committerGabriel Schneider <[email protected]>2026-08-01 15:02:07 -0300
commitcc806b11ba880d1bd326e3f1f9e69f7539c22395 (patch)
tree3b200ed4e46e2c80d2762ae2efd45bf87413133d /term.zig
parentf3618a5a3151e02db2c1e2280ab42d48c35eeba9 (diff)
downloadpardes-cc806b11ba880d1bd326e3f1f9e69f7539c22395.tar.gz
pardes-cc806b11ba880d1bd326e3f1f9e69f7539c22395.zip
more treesitter grammars
Diffstat (limited to 'term.zig')
-rw-r--r--term.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/term.zig b/term.zig
index 27dbfef2..5e472a9e 100644
--- a/term.zig
+++ b/term.zig
@@ -15,10 +15,10 @@ pub const Sel = struct {
/// Modal input mode. normal/insert are the helix-style text-editing modes; tty
/// forwards keys to the shell (terminal panes only — file panes never use it).
/// normal -> helix NORMAL: hjkl/w/b/e/... move a block cursor; i/a/o -> insert;
-/// v/x select; Esc collapses the selection; Ctrl-b -> tty (terminals).
+/// v/x select; Esc collapses the selection; configured Ctrl key -> tty (terminals).
/// insert -> keys insert text at the cursor (acme click-and-type); Esc -> normal.
/// tty -> keys -> pty as terminal sequences. The mouse stays usable here (it
-/// selects/copies without dropping you back to normal); Ctrl-b exits.
+/// selects/copies without dropping you back to normal); the configured Ctrl key exits.
pub const Mode = enum { normal, insert, tty };
/// A modal line selection (helix `x` extends the selection down line by line).