     try {
                                    sessionStorage.setItem('__python_wasm_repl.history', JSON.stringify(this.history));
                                } catch(e) {
                                }
                            }
                            resolve(value);
                        };
                    });
                };

                clear() {
                    this.xterm.clear();
                }

                print(charCode) {
                    let array = [charC