mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-04-15 03:52:39 +00:00
fix typo and add ellipsis for title
This commit is contained in:
@@ -429,7 +429,7 @@ pub const Tab = extern struct {
|
||||
config_: ?*Config,
|
||||
terminal_: ?[*:0]const u8,
|
||||
surface_override_: ?[*:0]const u8,
|
||||
tab_override: ?[*:0]const u8,
|
||||
tab_override_: ?[*:0]const u8,
|
||||
zoomed_: c_int,
|
||||
bell_ringing_: c_int,
|
||||
_: *gobject.ParamSpec,
|
||||
@@ -437,7 +437,7 @@ pub const Tab = extern struct {
|
||||
const zoomed = zoomed_ != 0;
|
||||
const bell_ringing = bell_ringing_ != 0;
|
||||
|
||||
// Our plain title is the manually tab overriden title if it exists,
|
||||
// Our plain title is the manually tab overridden title if it exists,
|
||||
// otherwise the overridden title if it exists, otherwise
|
||||
// the terminal title if it exists, otherwise a default string.
|
||||
const plain = plain: {
|
||||
@@ -447,7 +447,7 @@ pub const Tab = extern struct {
|
||||
break :title config.get().title orelse null;
|
||||
};
|
||||
|
||||
const plain = tab_override orelse
|
||||
const plain = tab_override_ orelse
|
||||
surface_override_ orelse
|
||||
terminal_ orelse
|
||||
config_title orelse
|
||||
|
||||
@@ -278,7 +278,7 @@ menu context_menu_model {
|
||||
label: _("Tab");
|
||||
|
||||
item {
|
||||
label: _("Change Tab Title...");
|
||||
label: _("Change Tab Title…");
|
||||
action: "tab.prompt-tab-title";
|
||||
}
|
||||
|
||||
|
||||
@@ -317,7 +317,7 @@ menu main_menu {
|
||||
|
||||
menu tab_context_menu {
|
||||
item {
|
||||
label: _("Change Title...");
|
||||
label: _("Change Tab Title…");
|
||||
action: "win.prompt-context-tab-title";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user