Closed caioedut closed 2 years ago
this might help:
const hideInput = () => {
terminalRef.current.state.instances[0].instance.inputWrapper.style.display =
"none";
};
const showInput = () => {
terminalRef.current.state.instances[0].instance.inputWrapper.style.display =
"block";
};
I just need to block user input while the async function has not ended.