The-OpenROAD-Project / OpenSTA

OpenSTA engine
GNU General Public License v3.0
389 stars 170 forks source link

Support for tclreadline #90

Closed bfg86 closed 1 year ago

bfg86 commented 2 years ago

See issue #59. Basically a copy of what's done in the OpenROAD repository (https://github.com/The-OpenROAD-Project/OpenROAD/issues/136)

bfg86 commented 2 years ago

I get this message when opening sta:

application-specific initialization failed: error while autoloading "history": Error: history.tcl, 330 invoked "return" outside of a proc.

Got around it by adding this to my ~/.sta:

if {$tcl_interactive} {
  package require tclreadline
  ::tclreadline::Loop
}
bfg86 commented 1 year ago

See @jjcherry56 added tclreadline support in commit 15d9333. Closing