mirror of
https://github.com/YosysHQ/yosys.git
synced 2026-08-22 14:17:27 +02:00
Added YosysJS wrapper
This commit is contained in:
+3
-1
@@ -93,7 +93,9 @@ void run(const char *command)
|
||||
|
||||
const char *prompt()
|
||||
{
|
||||
return create_prompt(yosys_get_design(), 0);
|
||||
const char *p = create_prompt(yosys_get_design(), 0);
|
||||
while (*p == '\n') p++;
|
||||
return p;
|
||||
}
|
||||
|
||||
#else /* EMSCRIPTEN */
|
||||
|
||||
Reference in New Issue
Block a user