projects
/
FET_sim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf8d899
)
Add automatic refresh after simulation step (next)
author
Lukáš Jiřiště
<gymnazium.jiriste@gmail.com>
Sun, 23 Feb 2025 19:34:59 +0000
(20:34 +0100)
committer
Lukáš Jiřiště
<gymnazium.jiriste@gmail.com>
Sun, 23 Feb 2025 19:34:59 +0000
(20:34 +0100)
src/main.c
patch
|
blob
|
history
diff --git
a/src/main.c
b/src/main.c
index 9ba80e2a7509dee1a8ddc697c0ed956e73e7f779..8ec633132946b98c86ef53495d33ed3b1978c581 100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-229,7
+229,10
@@
int process_input(t_windows *windows, t_vec *nodes, t_vec *mosfets)
return (1);
res = 1;
if (input.command == next)
+ {
res = c_next(input, nodes, mosfets);
+ refresh_schema_win(windows->schematics_win, nodes, mosfets);
+ }
else if (input.command == draw)
res = c_draw(windows->command_win, input, nodes, mosfets);
else if (input.command == setnode)