Open jcowgar opened 2 years ago
Given a file:
{ some text } { cursor here }
Then at the command line:
echo -n "-/{/,/}/" | 9p write acme/$winid/addr echo -n "dot=addr" | 9p write acme/$winid/ctl
Acme crashes:
acme: acme: textsetselect p0=14 p1=13 q0=14 q1=13 t->org=0 nchars=29 9p: write error: muxrpc: unexpected eof
The desired output would be for { cursor here } to be selected.
{ cursor here }
If you have the same file in Acme and execute from within Acme Edit -/{/,/}/, then it works.
Edit -/{/,/}/
If the cursor is inside of the some text block (first block) all works fine, inside Acme and in the shell.
some text
Given a file:
Then at the command line:
Acme crashes:
The desired output would be for
{ cursor here }
to be selected.If you have the same file in Acme and execute from within Acme
Edit -/{/,/}/
, then it works.If the cursor is inside of the
some text
block (first block) all works fine, inside Acme and in the shell.