This commit adds more trace logging around selection related events. That tracing uncovered a situation, when multiple wezterm windows within the same process were involved, where one window didn't receive a selection-clear event notification. Since Window::get_clipboard trusted our local understand of the clipboard contents, it would return those until the selection was changed in that window. This commit changes that code to always ask the X server for the selection. It makes pasting slightly slower, but should always produce consistent results. refs: https://github.com/wez/wezterm/issues/2110
This directory contains the sources for the documentation. Read the generated documentation at: https://wezfurlong.org/wezterm