[PD-dev] tcl prompt gone!

IOhannes m zmölnig zmoelnig at iem.at
Tue Nov 3 21:39:46 CET 2015


On 11/03/2015 09:07 PM, Miller Puckette wrote:
> I'm Happy to leave that in for a while at least - ultimately, I think it would
> be more maintainable to move the code into the plug-in, unless there's some
> reason that's not feasible.
> 

actually, by now the plugin is self-contained.
so you can remove the entire tcl_prompt code from pdwindow.tcl.

afaict, that's:

variable ::pdwindow::tclentry
variable ::pdwindow::tclentry_history
variable ::pdwindow::history_position
proc ::pdwindow::eval_tclentry
proc ::pdwindow::get_history
proc ::pdwindow::validate_tcl
proc ::pdwindow::create_tcl_entry

and the calls to
    frame .pdwindow.tcl -borderwidth 0
    pack .pdwindow.tcl -side bottom -fill x
in ::pdwindow::create_window

mfgsd
IOhannes

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20151103/706e2285/attachment-0001.sig>


More information about the Pd-dev mailing list