feat: paste
This commit is contained in:
parent
efa2c434d0
commit
65f10a1a4f
1 changed files with 2 additions and 2 deletions
|
|
@ -232,8 +232,8 @@ export class TextBuffer {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Handle regular character input
|
// Handle regular character input (including paste - multi-character input)
|
||||||
if (input && input.length === 1 && !key.ctrl && !key.meta && !isOptionKey) {
|
if (input && input.length >= 1 && !key.ctrl && !key.meta && !isOptionKey) {
|
||||||
this.insertText(input);
|
this.insertText(input);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue