limit max text shown in paste warning

This commit is contained in:
Eugene Pankov
2022-06-18 11:08:50 +02:00
parent 1c8de05065
commit 53f3962640

View File

@@ -462,7 +462,7 @@ export class BaseTerminalTabComponent extends BaseTabComponent implements OnInit
const result = (await this.platform.showMessageBox(
{
type: 'warning',
detail: data,
detail: data.slice(0, 1000),
message: this.translate.instant('Paste multiple lines?'),
buttons,
defaultId: 0,