Skip to content

Commit 6415306

Browse files
committed
Change the order of the cursor keys, so they are the same as the vi hjkl mode, where down comes before up
1 parent 43e92a7 commit 6415306

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Sources/SwiftTerm/iOS/iOSAccessoryView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,8 @@ public class TerminalAccessory: UIInputView, UIInputViewAudioFeedback {
203203
//leftViews.append(makeButton ("tab", #selector(tab)))
204204
}
205205
rightViews.append(makeAutoRepeatButton ("arrow.left", #selector(left)))
206-
rightViews.append(makeAutoRepeatButton ("arrow.up", #selector(up)))
207206
rightViews.append(makeAutoRepeatButton ("arrow.down", #selector(down)))
207+
rightViews.append(makeAutoRepeatButton ("arrow.up", #selector(up)))
208208
rightViews.append(makeAutoRepeatButton ("arrow.right", #selector(right)))
209209
touchButton = makeButton ("", #selector(toggleTouch), icon: "hand.draw", isNormal: false)
210210
touchButton.isSelected = terminalView?.allowMouseReporting ?? false

0 commit comments

Comments
 (0)