added bindkey "s" for running simulation

This commit is contained in:
Stefan Frederik 2022-04-25 08:39:51 +02:00
parent bcb1f57b27
commit 89f538ffa1
1 changed files with 5 additions and 1 deletions

View File

@ -1443,7 +1443,11 @@ int callback(const char *winpath, int event, int mx, int my, KeySym key,
set_tcl_netlist_type();
break;
}
if(key=='s' && (state == 0) ) /* simulate */
{
tcleval("[xschem get top_path].menubar.simulate invoke");
break;
}
if(key=='s' && (state == ControlMask) ) /* save 20121201 */
{
if(xctx->semaphore >= 2) break;