Skip to content

feat(tui): session scratchpad <leader>w to store notes, todos, system prompt extensions etc... - #1995

Closed
spoons-and-mirrors wants to merge 6 commits into
anomalyco:devfrom
spoons-and-mirrors:feat/notepad
Closed

spoons-and-mirrors wants to merge 6 commits into
anomalyco:devfrom
spoons-and-mirrors:feat/notepad

Conversation

@spoons-and-mirrors

@spoons-and-mirrors spoons-and-mirrors commented Aug 16, 2025 •

Copy link
Copy Markdown
Contributor

Summary

This feature allows users to maintain session-specific notes, todos, or system prompt extensions that persist in the session and are visible to the agent at all time. It improves workflow organization and enables richer, context-aware agent interactions.

Features

  • Integrates a modal scratchpad editor in the TUI, accessible via a new keybinding (<leader>w).
  • Scratchpad content is shared with the agent as a system message for each session.
image

@adamdotdevin

Copy link
Copy Markdown
Member

interesting idea, need to think about this a bit; visually, is it easy to remove the indentation and second border?

@spoons-and-mirrors

Copy link
Copy Markdown
Contributor Author

Is this what you have in mind @adamdotdevin ?

image

@spoons-and-mirrors

spoons-and-mirrors commented Dec 17, 2025 •

Copy link
Copy Markdown
Contributor Author

idea still stands, but compaction hooks can offload this to a plugin somewhat
#5698
#5702

simonklee added a commit that referenced this pull request Nov 12, 2026
OpenTUI 413659b4e (#1996) keeps control characters out of OSC 8 link
targets: the native link pool takes only non-empty UTF-8 targets of at
most 512 bytes with no C0, DEL or C1 control, and a rejected link keeps
its text. Before it, a link target in model output or a file could end
the OSC 8 sequence early and write the clipboard through OSC 52.

The range also brings 35c5dbe05 (#1995), which compares Yoga measured
sizes exactly so text rewraps after a small width change, and 3f743b514
(#1626, TS core only). The opentui.h hash moves to 0x6c8ca2888fec70e0
for a doc comment.
simonklee added a commit that referenced this pull request Nov 12, 2026
OpenTUI 413659b4e (#1996) keeps control characters out of OSC 8 link
targets: the native link pool takes only non-empty UTF-8 targets of at
most 512 bytes with no C0, DEL or C1 control, and a rejected link keeps
its text. Before it, a link target in model output or a file could end
the OSC 8 sequence early and write the clipboard through OSC 52.

The range also brings 35c5dbe05 (#1995), which compares Yoga measured
sizes exactly so text rewraps after a small width change, and 3f743b514
(#1626, TS core only). The opentui.h hash moves to 0x6c8ca2888fec70e0
for a doc comment.
simonklee added a commit that referenced this pull request Nov 12, 2026
OpenTUI 413659b4e (#1996) keeps control characters out of OSC 8 link
targets: the native link pool takes only non-empty UTF-8 targets of at
most 512 bytes with no C0, DEL or C1 control, and a rejected link keeps
its text. Before it, a link target in model output or a file could end
the OSC 8 sequence early and write the clipboard through OSC 52.

The range also brings 35c5dbe05 (#1995), which compares Yoga measured
sizes exactly so text rewraps after a small width change, and 3f743b514
(#1626, TS core only). The opentui.h hash moves to 0x6c8ca2888fec70e0
for a doc comment.
simonklee added a commit that referenced this pull request Nov 12, 2026
OpenTUI 413659b4e (#1996) keeps control characters out of OSC 8 link
targets: the native link pool takes only non-empty UTF-8 targets of at
most 512 bytes with no C0, DEL or C1 control, and a rejected link keeps
its text. Before it, a link target in model output or a file could end
the OSC 8 sequence early and write the clipboard through OSC 52.

The range also brings 35c5dbe05 (#1995), which compares Yoga measured
sizes exactly so text rewraps after a small width change, and 3f743b514
(#1626, TS core only). The opentui.h hash moves to 0x6c8ca2888fec70e0
for a doc comment.
simonklee added a commit that referenced this pull request Nov 13, 2026
OpenTUI 413659b4e (#1996) keeps control characters out of OSC 8 link
targets: the native link pool takes only non-empty UTF-8 targets of at
most 512 bytes with no C0, DEL or C1 control, and a rejected link keeps
its text. Before it, a link target in model output or a file could end
the OSC 8 sequence early and write the clipboard through OSC 52.

The range also brings 35c5dbe05 (#1995), which compares Yoga measured
sizes exactly so text rewraps after a small width change, and 3f743b514
(#1626, TS core only). The opentui.h hash moves to 0x6c8ca2888fec70e0
for a doc comment.
simonklee added a commit that referenced this pull request Nov 13, 2026
OpenTUI 413659b4e (#1996) keeps control characters out of OSC 8 link
targets: the native link pool takes only non-empty UTF-8 targets of at
most 512 bytes with no C0, DEL or C1 control, and a rejected link keeps
its text. Before it, a link target in model output or a file could end
the OSC 8 sequence early and write the clipboard through OSC 52.

The range also brings 35c5dbe05 (#1995), which compares Yoga measured
sizes exactly so text rewraps after a small width change, and 3f743b514
(#1626, TS core only). The opentui.h hash moves to 0x6c8ca2888fec70e0
for a doc comment.
simonklee added a commit that referenced this pull request Nov 14, 2026
OpenTUI 413659b4e (#1996) keeps control characters out of OSC 8 link
targets: the native link pool takes only non-empty UTF-8 targets of at
most 512 bytes with no C0, DEL or C1 control, and a rejected link keeps
its text. Before it, a link target in model output or a file could end
the OSC 8 sequence early and write the clipboard through OSC 52.

The range also brings 35c5dbe05 (#1995), which compares Yoga measured
sizes exactly so text rewraps after a small width change, and 3f743b514
(#1626, TS core only). The opentui.h hash moves to 0x6c8ca2888fec70e0
for a doc comment.
simonklee added a commit that referenced this pull request Nov 14, 2026
OpenTUI 413659b4e (#1996) keeps control characters out of OSC 8 link
targets: the native link pool takes only non-empty UTF-8 targets of at
most 512 bytes with no C0, DEL or C1 control, and a rejected link keeps
its text. Before it, a link target in model output or a file could end
the OSC 8 sequence early and write the clipboard through OSC 52.

The range also brings 35c5dbe05 (#1995), which compares Yoga measured
sizes exactly so text rewraps after a small width change, and 3f743b514
(#1626, TS core only). The opentui.h hash moves to 0x6c8ca2888fec70e0
for a doc comment.
simonklee added a commit that referenced this pull request Nov 15, 2026
OpenTUI 413659b4e (#1996) keeps control characters out of OSC 8 link
targets: the native link pool takes only non-empty UTF-8 targets of at
most 512 bytes with no C0, DEL or C1 control, and a rejected link keeps
its text. Before it, a link target in model output or a file could end
the OSC 8 sequence early and write the clipboard through OSC 52.

The range also brings 35c5dbe05 (#1995), which compares Yoga measured
sizes exactly so text rewraps after a small width change, and 3f743b514
(#1626, TS core only). The opentui.h hash moves to 0x6c8ca2888fec70e0
for a doc comment.
simonklee added a commit that referenced this pull request Nov 15, 2026
OpenTUI 413659b4e (#1996) keeps control characters out of OSC 8 link
targets: the native link pool takes only non-empty UTF-8 targets of at
most 512 bytes with no C0, DEL or C1 control, and a rejected link keeps
its text. Before it, a link target in model output or a file could end
the OSC 8 sequence early and write the clipboard through OSC 52.

The range also brings 35c5dbe05 (#1995), which compares Yoga measured
sizes exactly so text rewraps after a small width change, and 3f743b514
(#1626, TS core only). The opentui.h hash moves to 0x6c8ca2888fec70e0
for a doc comment.
simonklee added a commit that referenced this pull request Nov 16, 2026
OpenTUI 413659b4e (#1996) keeps control characters out of OSC 8 link
targets: the native link pool takes only non-empty UTF-8 targets of at
most 512 bytes with no C0, DEL or C1 control, and a rejected link keeps
its text. Before it, a link target in model output or a file could end
the OSC 8 sequence early and write the clipboard through OSC 52.

The range also brings 35c5dbe05 (#1995), which compares Yoga measured
sizes exactly so text rewraps after a small width change, and 3f743b514
(#1626, TS core only). The opentui.h hash moves to 0x6c8ca2888fec70e0
for a doc comment.
simonklee added a commit that referenced this pull request Nov 16, 2026
OpenTUI 413659b4e (#1996) keeps control characters out of OSC 8 link
targets: the native link pool takes only non-empty UTF-8 targets of at
most 512 bytes with no C0, DEL or C1 control, and a rejected link keeps
its text. Before it, a link target in model output or a file could end
the OSC 8 sequence early and write the clipboard through OSC 52.

The range also brings 35c5dbe05 (#1995), which compares Yoga measured
sizes exactly so text rewraps after a small width change, and 3f743b514
(#1626, TS core only). The opentui.h hash moves to 0x6c8ca2888fec70e0
for a doc comment.
simonklee added a commit that referenced this pull request Nov 17, 2026
OpenTUI 413659b4e (#1996) keeps control characters out of OSC 8 link
targets: the native link pool takes only non-empty UTF-8 targets of at
most 512 bytes with no C0, DEL or C1 control, and a rejected link keeps
its text. Before it, a link target in model output or a file could end
the OSC 8 sequence early and write the clipboard through OSC 52.

The range also brings 35c5dbe05 (#1995), which compares Yoga measured
sizes exactly so text rewraps after a small width change, and 3f743b514
(#1626, TS core only). The opentui.h hash moves to 0x6c8ca2888fec70e0
for a doc comment.
simonklee added a commit that referenced this pull request Nov 17, 2026
OpenTUI 413659b4e (#1996) keeps control characters out of OSC 8 link
targets: the native link pool takes only non-empty UTF-8 targets of at
most 512 bytes with no C0, DEL or C1 control, and a rejected link keeps
its text. Before it, a link target in model output or a file could end
the OSC 8 sequence early and write the clipboard through OSC 52.

The range also brings 35c5dbe05 (#1995), which compares Yoga measured
sizes exactly so text rewraps after a small width change, and 3f743b514
(#1626, TS core only). The opentui.h hash moves to 0x6c8ca2888fec70e0
for a doc comment.
simonklee added a commit that referenced this pull request Nov 18, 2026
OpenTUI 413659b4e (#1996) keeps control characters out of OSC 8 link
targets: the native link pool takes only non-empty UTF-8 targets of at
most 512 bytes with no C0, DEL or C1 control, and a rejected link keeps
its text. Before it, a link target in model output or a file could end
the OSC 8 sequence early and write the clipboard through OSC 52.

The range also brings 35c5dbe05 (#1995), which compares Yoga measured
sizes exactly so text rewraps after a small width change, and 3f743b514
(#1626, TS core only). The opentui.h hash moves to 0x6c8ca2888fec70e0
for a doc comment.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants