mirror of
https://github.com/Noratrieb/brainfuck.git
synced 2026-01-15 22:05:02 +01:00
more settings
This commit is contained in:
parent
e13d82ff46
commit
dc79c96f63
10 changed files with 246 additions and 116 deletions
|
|
@ -10,7 +10,7 @@ function App() {
|
|||
const [running, setRunning] = useState(false);
|
||||
|
||||
const outHandler = useCallback((char: number) => {
|
||||
setOut(out => out + String.fromCharCode(char))
|
||||
setOut(oldOut => oldOut + String.fromCharCode(char))
|
||||
}, []);
|
||||
|
||||
const runHandler = (run: boolean) => {
|
||||
|
|
@ -21,7 +21,6 @@ function App() {
|
|||
}
|
||||
|
||||
const inputHandler = (code: string, options: CodeOptions) => setInput([code, options]);
|
||||
|
||||
return (
|
||||
<div className="App-header">
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue