Upgrade clet text to use Terminal.Gui.Editor; merge with multiline-text#128
Open
Copilot wants to merge 2 commits into
Open
Upgrade clet text to use Terminal.Gui.Editor; merge with multiline-text#128Copilot wants to merge 2 commits into
clet text to use Terminal.Gui.Editor; merge with multiline-text#128Copilot wants to merge 2 commits into
Conversation
…to text TextClet now uses Editor instead of TextField, providing multi-line editing. MultilineTextClet is removed; its aliases (multiline-text, mt) are absorbed into TextClet. EditorClet (clet edit) remains separate as a viewer clet since it serves a fundamentally different use case (file editing with menus, save/load, syntax highlighting vs. text input returning a string result). Agent-Logs-Url: https://github.com/gui-cs/clet/sessions/c2627fa0-76b9-4a7e-8a9b-5d6e55254e6e Co-authored-by: tig <585482+tig@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Upgrade clet text to use Terminal.Gui.Editor
Upgrade May 14, 2026
clet text to use Terminal.Gui.Editor; merge with multiline-text
tig
approved these changes
May 14, 2026
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.
clet textused a single-lineTextField. This upgrades it toEditorfor multi-line input, which makes it functionally identical tomultiline-text— so the two are merged.textvsedit— kept separate.textis an input clet (returnsstring);editis a viewer clet (file editor with menus/save/load/syntax highlighting, no return value). Different abstractions, different use cases.Changes
TextClet—TextField→Editor, gains OK button,--rowssupport (default 5), cancellation pre-checkMultilineTextCletremoved — aliasesmultiline-text/mtabsorbed intoTextCletBuiltInClets— one fewer registration (19 → 18)MultilineTextCletTestsand integration tests removed;TextCletTestsgains alias coverage;BuiltInCletsTestscount updated;CletMetadataTestsrow removed; multiline/rows integration tests ported toTextCletIntegrationTestsmultiline-text.mdremoved