mirror of
https://github.com/Eugeny/tabby.git
synced 2025-07-24 12:28:02 +00:00
limit max text shown in paste warning
This commit is contained in:
@@ -462,7 +462,7 @@ export class BaseTerminalTabComponent extends BaseTabComponent implements OnInit
|
|||||||
const result = (await this.platform.showMessageBox(
|
const result = (await this.platform.showMessageBox(
|
||||||
{
|
{
|
||||||
type: 'warning',
|
type: 'warning',
|
||||||
detail: data,
|
detail: data.slice(0, 1000),
|
||||||
message: this.translate.instant('Paste multiple lines?'),
|
message: this.translate.instant('Paste multiple lines?'),
|
||||||
buttons,
|
buttons,
|
||||||
defaultId: 0,
|
defaultId: 0,
|
||||||
|
Reference in New Issue
Block a user