mirror of
https://github.com/Eugeny/tabby.git
synced 2025-10-04 22:14:55 +00:00
local: UI to support single "command line" in profiles
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import shellEscape from 'shell-escape'
|
||||
import shellQuote from 'shell-quote'
|
||||
import { Injectable } from '@angular/core'
|
||||
import { CLIHandler, CLIEvent, AppService, HostWindowService } from 'tabby-core'
|
||||
import { BaseTerminalTabComponent } from './api/baseTerminalTab.component'
|
||||
@@ -21,7 +21,7 @@ export class TerminalCLIHandler extends CLIHandler {
|
||||
if (op === 'paste') {
|
||||
let text = event.argv.text
|
||||
if (event.argv.escape) {
|
||||
text = shellEscape([text])
|
||||
text = shellQuote.quote([text])
|
||||
}
|
||||
this.handlePaste(text)
|
||||
return true
|
||||
|
Reference in New Issue
Block a user