Add tab title rename feature to macos

This commit is contained in:
Aswin M Prabhu
2025-01-01 01:01:42 +05:30
committed by Mitchell Hashimoto
parent 228b4dbd60
commit a581955b9b
10 changed files with 108 additions and 1 deletions

View File

@@ -4024,6 +4024,12 @@ pub fn performBindingAction(self: *Surface, action: input.Binding.Action) !bool
try self.setFontSize(size);
},
.prompt_surface_title => return try self.rt_app.performAction(
.{ .surface = self },
.prompt_title,
{},
),
.clear_screen => {
// This is a duplicate of some of the logic in termio.clearScreen
// but we need to do this here so we can know the answer before