Skip to content

Commit 1dd7f33

Browse files
authored
Merge pull request #50 from replete-repl/history-accounting
Fix issue where first up-arrow selects two up in history
2 parents 6307313 + 03ad4e7 commit 1dd7f33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Replete/ViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,8 +255,8 @@ extension ViewController {
255255

256256
@IBAction
257257
func moveBackInHistory(_ sender: Any?) {
258-
historyIndex -= 1
259258
refresh()
259+
historyIndex -= 1
260260
}
261261

262262
@IBAction

0 commit comments

Comments
 (0)