Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion frontend/src/ts/input/handlers/insert-text.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export async function onInsertText(options: OnInsertTextParams): Promise<void> {
// make sure to not call TestInput.input.syncWithInputElement in here
// it will be updated later in the body of onInsertText
const { inputValue } = getInputElementValue();
setInputElementValue(inputValue.slice(0, -options.data.length));
setInputElementValue(inputValue.slice(0, -1));
for (let i = 0; i < options.data.length; i++) {
const char = options.data[i] as string;

Expand Down