From fe48aecaae6d967e44aaa20e460ecc896ed2c8fb Mon Sep 17 00:00:00 2001 From: Jason Zimdars Date: Wed, 7 May 2025 12:28:09 -0500 Subject: [PATCH] Eliminate double-tab behavior --- app/views/commands/_command.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/commands/_command.html.erb b/app/views/commands/_command.html.erb index 9fcecfac9..7f4fda5bb 100644 --- a/app/views/commands/_command.html.erb +++ b/app/views/commands/_command.html.erb @@ -2,7 +2,7 @@ action: "keydown.enter->terminal#restoreCommand:prevent keydown.enter->toggle-class#remove:prevent", navigable_list_target: "item" } do %> <%= button_tag command.title, type: "button", class: "btn btn--plain overflow-ellipsis terminal__command flex-item-grow justify-start", - data: { action: "toggle-class#remove terminal#restoreCommand", line: command.line } %> + data: { action: "toggle-class#remove terminal#restoreCommand", line: command.line }, tabindex: -1 %> <% if command.undoable? %> <%= button_to "Undo", command_undo_path(command), class: "btn btn--plain terminal__button flex-item-justify-end",