mirror of
https://github.com/Eugeny/tabby.git
synced 2025-07-20 02:18:01 +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(
|
||||
{
|
||||
type: 'warning',
|
||||
detail: data,
|
||||
detail: data.slice(0, 1000),
|
||||
message: this.translate.instant('Paste multiple lines?'),
|
||||
buttons,
|
||||
defaultId: 0,
|
||||
|
Reference in New Issue
Block a user