Repository navigation
One conversation, the one iq draws, with iq selecting in it itself - #23
Merged
Merged
Conversation
For a chat compacted before compactions kept what they replaced, what was set aside before the compaction stood past the messages kept, and the thread placed it, with all that was set aside after it, below the last answer: old steps and errors piled up under it. What stands past the messages kept and came before something set aside among them now comes first; what truly came last stays at the end; and what stands among the messages is placed by where it stands.
The end of every row of the conversation iq draws was erased after each draw, unchanged rows included, at least once a second for the status line's clock. Kitty, seeing the selected rows written again, dropped a selection the terminal itself made; other terminals may do the same. The end of a row is now erased only when the row changed (its text, its width or its mark's colour), what was erased being forgotten when the screen is wiped or refitted, or the row given to the live part.
Selecting in the conversation iq draws needed Shift, the mouse being iq's, and stopped at the screen's edges; the scrollback selected well but lost the clicks on folds, links and diagrams. iq now always draws the conversation; `conversation` is read no more, said so as iq starts, so that older settings still load, and the scrollback writer is left for a cleanup of its own. A press let go where it was is a click, as before. A drag selects, shown reversed, with no Shift; held at the conversation's top or bottom edge, it scrolls a row every 60 ms, the mouse still; the selection is kept by block and row so that it holds as the conversation scrolls. As the mouse comes up, what it holds goes to the terminal's clipboard through OSC 52, without the images, the rows' padding nor the conversation's own indent. Shift and a drag stay the terminal's own selection, where a terminal does not let OSC 52 write its clipboard.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
One conversation, the one iq draws, with iq selecting in it itself.
What
conversationis read no more, said so as iq starts, so that older settings still load. The scrollback writer is left for a cleanup of its own.Checked
Every commit passes
scripts/check.sh. Live, in xterm in a nested X server with a stand-in provider that calls no model: the conversation drawn without the setting, a drag shown reversed and copied (read back from the clipboard, xterm allowing OSC 52), the selection holding as the conversation moved, held at the top edge scrolling up to the start, a click still marking. Not checked: Kitty, for which the erasing change is made, and macOS.Stacked on #22: merge it first.