mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-06-11 09:35:59 -04:00
terminal: support Backspace to exit JS mode
Updates the isocline dependency and the status bar exit hint.
This commit is contained in:
@@ -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 = .{""},
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user