Fix #5109: trigger ex input change on ex history navigation

This commit is contained in:
Oliver Blanthorn 2026-07-22 13:22:00 +02:00
parent 5b31cc42eb
commit b487a712bd
No known key found for this signature in database
GPG key ID: 2BB8C36BB504BFF3

View file

@ -424,6 +424,7 @@ async function history(n) {
const pot_history = matches[clamped_ind]
commandline_state.clInput.value =
pot_history === undefined ? cmdline_history_current : pot_history
clInputValueChanged()
// if there was no clampage, update history position
// there's a more sensible way of doing this but that would require more programmer time