Properly responsd to server reverse-request
This commit is contained in:
parent
73fe403a19
commit
87db1e3478
3 changed files with 37 additions and 3 deletions
|
|
@ -488,7 +488,15 @@ class DebugSession( object ):
|
|||
def OnRequest_runInTerminal( self, message ):
|
||||
params = message[ 'arguments' ]
|
||||
|
||||
self._codeView.LaunchTerminal( params )
|
||||
buffer_number = self._codeView.LaunchTerminal( params )
|
||||
|
||||
response = {
|
||||
'processId': vim.eval( 'job_info( term_getjob( {} ) )'
|
||||
'.process'.format( buffer_number ) )
|
||||
}
|
||||
|
||||
self._connection.DoResponse( message, None, response )
|
||||
|
||||
|
||||
def Clear( self ):
|
||||
self._codeView.Clear()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue