Eliminate double-tab behavior

This commit is contained in:
Jason Zimdars
2025-05-07 12:28:09 -05:00
parent 28659c1295
commit fe48aecaae
+1 -1
View File
@@ -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",