summaryrefslogtreecommitdiff
path: root/src/config.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.zig')
-rw-r--r--src/config.zig24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/config.zig b/src/config.zig
index 603e51f2..4f2802cc 100644
--- a/src/config.zig
+++ b/src/config.zig
@@ -100,7 +100,7 @@ pub const leader_path = paths: {
.ClipReplace = "R",
.Save = "fs",
.New = "fn",
- .Tty = "nt",
+ .Term = "nt",
.Find = "ff",
.Recent = "fr",
.Grep = "fg",
@@ -341,23 +341,23 @@ pub const child_term_program = "pardes";
pub const topbar_str = "Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config Debug Exit";
-pub const pane_builtins_str = "Tty Collapse Del";
-pub const pdf_pane_builtins_str = "Tty PdfSections PdfTint PdfFit Collapse Del";
-pub const file_pane_builtins_str = "Save Tty Collapse Del";
+pub const pane_builtins_str = "Term Collapse Del";
+pub const pdf_pane_builtins_str = "Term PdfSections PdfTint PdfFit Collapse Del";
+pub const file_pane_builtins_str = "Save Term Collapse Del";
/// After a file's, on one a language server speaks for.
pub const lsp_pane_builtins_str = "Def Refs";
/// A diff's (a .diff, a .patch, a +Pager holding one): Diff.
-pub const diff_pane_builtins_str = "Save Tty Diff Collapse Del";
+pub const diff_pane_builtins_str = "Save Term Diff Collapse Del";
/// A +Pager's (`pardes -`): Filter, as a terminal's.
-pub const pager_pane_builtins_str = "Save Tty Filter Collapse Del";
+pub const pager_pane_builtins_str = "Save Term Filter Collapse Del";
/// A +Pager holding a diff (`git show`): Diff too.
-pub const pager_diff_pane_builtins_str = "Save Tty Filter Diff Collapse Del";
+pub const pager_diff_pane_builtins_str = "Save Term Filter Diff Collapse Del";
/// A +Diff's: Diff again, the diff it stacks as text.
-pub const diff_view_builtins_str = "Save Tty Diff Collapse Del";
-pub const terminal_pane_builtins_str = "Tty Save Mode Filter Collapse Del";
+pub const diff_view_builtins_str = "Save Term Diff Collapse Del";
+pub const terminal_pane_builtins_str = "Term Save Mode Filter Collapse Del";
pub const command_pane_builtins_str = "Kill Save Collapse Del";
/// A directory pane's (Dir.zig): Get reads it again, as acme's does.
-pub const dir_pane_builtins_str = "Get Tty Collapse Del";
+pub const dir_pane_builtins_str = "Get Term Collapse Del";
// Each mode badge is one codepoint.
pub const tag_normal = " ";
@@ -1965,7 +1965,7 @@ pub const Runtime = struct {
var defaults: Runtime = .{};
var defaults_context = context;
defaults_context.startup_config_path = null;
- defaults_context.platform = "tty";
+ defaults_context.platform = "tui";
defaults_context.hover_delay_frames = null;
defaults_context.native_images = false;
defaults_context.capabilities = .{
@@ -2316,7 +2316,7 @@ test "docs/typ names only words, keys and default tags that exist" {
var found: [3]std.ArrayList([]const u8) = @splat(.empty);
// The arena's: gone with this test, so no later test reads it.
defer doc_typ.other_build = "";
- for ([_][]const u8{ "builtins-tty.json", "builtins-gui.json" }) |f| {
+ for ([_][]const u8{ "builtins-tui.json", "builtins-gui.json" }) |f| {
const text = dir.readFileAlloc(io, f, gpa, .limited(1 << 20)) catch continue;
doc_typ.other_build = try std.mem.concat(gpa, u8, &.{ doc_typ.other_build, text });
}