From 740612b2f0c3c2c97963dc4b6ee5842fd8ddbef4 Mon Sep 17 00:00:00 2001 From: "Maurits van Riezen (mousetail)" Date: Wed, 13 Mar 2024 20:26:38 +0100 Subject: [PATCH] remove more references to padProgram --- src/scripts/main.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/scripts/main.ts b/src/scripts/main.ts index 6f23dfc..c3f6829 100644 --- a/src/scripts/main.ts +++ b/src/scripts/main.ts @@ -1,4 +1,4 @@ -import { step, ProgramState, padProgram } from './interpreter'; +import { step, ProgramState } from './interpreter'; import { examples } from './examples'; import { start_code_info_event_listeners } from './update_code_info'; import { PathDrawer } from './gen_svg'; @@ -195,8 +195,6 @@ function reset() { const input_queue = input_format === 'chars' ? [...initial_input.value].map(i => i.charCodeAt(0)) : initial_input.value.split(' ').map(i => Number.parseFloat(i)); input_queue_div.textContent = input_queue.join(' '); - padProgram(program); - program_state = { stacks: [{ contents: initial_stack_values, register: undefined }], program: program,