diff options
author | Vincent Ambo <mail@tazj.in> | 2023-08-23T19·20+0300 |
---|---|---|
committer | tazjin <tazjin@tvl.su> | 2023-08-23T20·22+0000 |
commit | 4b4ec86114bb317184f80e540e1582672a1a2d6f (patch) | |
tree | 3d038c80ece8a7f274b899716fcb8a4eb123bdd5 /third_party/abseil_cpp/absl/base/internal/pretty_function.h | |
parent | bde9bc1c1dc21ed565d6728e93e1ff0fc8131794 (diff) |
fix(emacs-pkgs/term-switcher): switch buffers by object, not name r/6518
The terminal switcher uses ivy to select buffers from a list of buffer *names*, however this can cause weird situations if, for example, two `vterm` sessions are in the same folder and buffer name uniquification is active. This commit implements a corrected solution, which constructs an association list of buffer names to their actual buffer object, and retrieves the buffer object from that list after the user has made their selection. This way, changes in buffer names during terminal selection do not lead to confusing results. Change-Id: I3ab3d6b715b32606cf771dabc31d9d4507c8b856 Reviewed-on: https://cl.tvl.fyi/c/depot/+/9145 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
Diffstat (limited to 'third_party/abseil_cpp/absl/base/internal/pretty_function.h')
0 files changed, 0 insertions, 0 deletions