terminal: support Backspace to exit JS mode

Updates the isocline dependency and the status bar exit hint.
This commit is contained in:
Adrià Arrufat
2026-06-06 09:18:20 +02:00
parent 3342813012
commit a771597caa
2 changed files with 3 additions and 3 deletions

View File

@@ -39,8 +39,8 @@
.hash = "zenai-0.0.0-iOY_VDVqBAA3mH3_90Lg7Vz3JK8oD0gIhcete_M9c1UC",
},
.isocline = .{
.url = "git+https://github.com/arrufat/isocline?ref=lightpanda#85b065734669efa29a8abb056412b5825dd59a64",
.hash = "N-V-__8AAH5pEwASinYTzq0kHDGfUy1ADoDjoOYrd6_GlZzO",
.url = "git+https://github.com/arrufat/isocline?ref=lightpanda#058d0959aa4fa1da451067c778581fe2d502084c",
.hash = "N-V-__8AAL1qEwA1EDLxmxMJIJpQx1fLJXIZq4kL6uEbKUEh",
},
},
.paths = .{""},

View File

@@ -943,7 +943,7 @@ fn renderStatus(self: *Terminal) void {
if (self.js_mode) {
self.writeStatusBar(&.{
.{ .text = "JS mode", .side = .left, .rank = 1 },
.{ .text = "Esc exits JS mode", .side = .right, .rank = 2 },
.{ .text = "Esc/Backspace exits JS mode", .side = .right, .rank = 2 },
});
} else {
self.writeStatusBar(self.status.items);