Skip to content

⌘E inconsistent highlighting on second invocation with same string

Bug report

  • iTerm2 version: Build 3.5.0beta18
  • OS version: Ventura 13.6.3
  • Attach ~/Library/Preferences/com.googlecode.iterm2.plistcom.googlecode.iterm2.plist
  • Attach a debug log, if possible: N/A

Detailed steps to reproduce the problem

  1. open new iTerm widow of around 25 rows in height
  2. do not have a search window open (i.e. no F mini window)
  3. do ls -l on a directory with 15 or so files
  4. select one of the date months where there's more than one, e.g. Dec then E
  5. do ls -l again
  6. Selected the same string again (e.g. Dec) and then E again

What happened

Nothing changes on the second E invocation on the same selected string (Dec).

What should have happened

The additional Decs from the second ls -l should have been added to the original highlighted Decs. Moreover, this should happen on each E for whatever the last string used for E was even without double click selecting the same string again.

Its the current behavior of E only highlighting the current buffer (that is, not updating the highlights as new data is added like what happens when a F mini window is open) is very useful. But subsequent highlight updates of the current scroll buffer for whatever the last string used for E should also work.

Thank you for all the hard work!