how can i catch the prompt to the command window? in tinyfugue this was done with a HOOK, i f i remember correctly
If you type the following line in the entry area and press ENTER, it will be replaced by the last line in the current display:
/tcl [/inbuf] insert 1.0 [[/display] get "end-1lines linestart" "end-1lines lineend"]
You probably would want to make it a macro or a keyboard binding (or a trigger if you'll always want it to happen in a certain situation). If you do make it one of those, you can strip off the '/tcl' and instead mark the 'interpret as TCL' checkbox where you make it.
Disclaimer: This is probably not the best solution!
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.