omp packages

pi-stretchtext0.1.0

Stretchtext replies for Pi: short answers whose phrases open in place into more depth. A port of cc-stretch.

monadicmike Published 14 days ago MIT ~198 downloads/mo

Untested on omp

This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.

Did it work for you?

Result

One report per person. A new report replaces your old one.

Reports 0

No reports yet.

Readme

pi-stretchtext

Stretchtext replies for Pi: the model answers in one to three short sentences, and the phrases that hold more open in place into longer text, which may hold further phrases to open.

Opening stretches in a reply about Leonhard Euler

Install

pi install npm:pi-stretchtext

Or from git: pi install git:github.com/MonadicMike/pi-stretchtext.

Set up

Clicking a stretch needs Pi's fullscreen TUI mode. It is Pi's default; if you switched to regular mode, turn it back on in any of these ways:

  • in Pi, open /settings and set the TUI mode to fullscreen,
  • or in ~/.pi/agent/settings.json set "tuiMode": "fullscreen",
  • or start Pi with pi --tui-mode fullscreen.

In regular mode the keyboard shortcuts below still work.

Use

Action Fullscreen Any mode
Open a stretch click its underlined short form alt+o, then its letter
Close a stretch click the « after it alt+c, then its letter

License

MIT. Based on cc-stretch by pro-vi, also MIT.