[Lldb-commits] [lldb] [lldb] Add fzf_history command to examples (PR #128571)

Dave Lee via lldb-commits lldb-commits at lists.llvm.org
Mon Feb 24 14:19:07 PST 2025


kastiglione wrote:

> Instead of using `pbcopy/pbpaste`, which makes this macOS only, could you use a Python temp file and read/write from that?

@JDevlieghere I didn't do that because it would be an implementation I wouldn't even want to use, for platforms I don't use.

Without a way to do copy and paste, the command could skip writing to write to a temp file, since fzf's default behavior is to print the selected line to stdout.

https://github.com/llvm/llvm-project/pull/128571


More information about the lldb-commits mailing list