Search
Preparing search index...
The search index is not available
Theia TypeDoc
Options
All
Public
Public/Protected
All
Inherited
Menu
Theia TypeDoc
terminal
TerminalServer
Class TerminalServer
Hierarchy
BaseTerminalServer
TerminalServer
Implements
ITerminalServer
Index
Constructors
constructor
Properties
client
collections
logger
merged
Collection
process
Manager
terminal
Factory
terminal
ToDispose
Methods
attach
close
create
delete
Collection
dispose
get
CwdURI
get
Default
Shell
get
Process
Id
get
Process
Info
on
Attach
Attempted
persist
Collections
post
Create
resize
set
Client
set
Collection
Constructors
constructor
new
Terminal
Server
(
terminalFactory
:
TerminalProcessFactory
, processManager
:
ProcessManager
, logger
:
ILogger
)
:
TerminalServer
Parameters
terminalFactory:
TerminalProcessFactory
processManager:
ProcessManager
logger:
ILogger
Returns
TerminalServer
Properties
Protected
client
client
:
undefined
|
IBaseTerminalClient
= ...
Readonly
collections
collections
:
Map
<
string
,
EnvironmentVariableCollectionWithPersistence
>
= ...
Gets a single collection constructed by merging all environment variable collections into one.
Protected
Readonly
logger
logger
:
ILogger
merged
Collection
merged
Collection
:
MergedEnvironmentVariableCollection
Gets a single collection constructed by merging all environment variable collections into one.
Protected
Readonly
process
Manager
process
Manager
:
ProcessManager
Protected
Readonly
terminal
Factory
terminal
Factory
:
TerminalProcessFactory
Protected
terminal
ToDispose
terminal
ToDispose
:
Map
<
number
,
DisposableCollection
>
= ...
Methods
attach
attach
(
id
:
number
)
:
Promise
<
number
>
Parameters
id:
number
Returns
Promise
<
number
>
close
close
(
id
:
number
)
:
Promise
<
void
>
Parameters
id:
number
Returns
Promise
<
void
>
create
create
(
options
:
ITerminalServerOptions
)
:
Promise
<
number
>
Parameters
options:
ITerminalServerOptions
Returns
Promise
<
number
>
delete
Collection
delete
Collection
(
extensionIdentifier
:
string
)
:
void
Parameters
extensionIdentifier:
string
Returns
void
dispose
dispose
(
)
:
void
Returns
void
get
CwdURI
get
CwdURI
(
id
:
number
)
:
Promise
<
string
>
Parameters
id:
number
Returns
Promise
<
string
>
get
Default
Shell
get
Default
Shell
(
)
:
Promise
<
string
>
Returns
Promise
<
string
>
get
Process
Id
get
Process
Id
(
id
:
number
)
:
Promise
<
number
>
Parameters
id:
number
Returns
Promise
<
number
>
get
Process
Info
get
Process
Info
(
id
:
number
)
:
Promise
<
TerminalProcessInfo
>
Parameters
id:
number
Returns
Promise
<
TerminalProcessInfo
>
on
Attach
Attempted
on
Attach
Attempted
(
id
:
number
)
:
Promise
<
void
>
Parameters
id:
number
Returns
Promise
<
void
>
Protected
persist
Collections
persist
Collections
(
)
:
void
Returns
void
Protected
post
Create
post
Create
(
term
:
TerminalProcess
)
:
void
Parameters
term:
TerminalProcess
Returns
void
resize
resize
(
id
:
number
, cols
:
number
, rows
:
number
)
:
Promise
<
void
>
Parameters
id:
number
cols:
number
rows:
number
Returns
Promise
<
void
>
set
Client
set
Client
(
client
:
undefined
|
IBaseTerminalClient
)
:
void
Parameters
client:
undefined
|
IBaseTerminalClient
Returns
void
set
Collection
set
Collection
(
extensionIdentifier
:
string
, persistent
:
boolean
, collection
:
SerializableEnvironmentVariableCollection
)
:
void
Parameters
extensionIdentifier:
string
persistent:
boolean
collection:
SerializableEnvironmentVariableCollection
Returns
void
Exports
terminal
IBase
Terminal
Server
Terminal
Commands
Terminal
Keybinding
Contexts
Terminal
Menus
Terminal
Server
constructor
client
collections
logger
merged
Collection
process
Manager
terminal
Factory
terminal
ToDispose
attach
close
create
delete
Collection
dispose
get
CwdURI
get
Default
Shell
get
Process
Id
get
Process
Info
on
Attach
Attempted
persist
Collections
post
Create
resize
set
Client
set
Collection
Gets a single collection constructed by merging all environment variable collections into one.