Add `VDBTerminalView` used on with PTYs
The reason is that stock `TerminalView` closes streams when the view
is closed (destoryed). This is *NOT* what we want - application provides
opened stream and application is responsible for closing then.
In this particular case, closing the PTY causes GDB to exit. This is not
what we want - for example when reopening the UI or switching layout, old
debugger console view is destoyed and ew one attached to the same PTY.
Since there's no way to configure this behavior in `TerminalView`, we introduce
new VDB-specific subclass with desired behavior.
"
jv:vdb - Visual / VM Debugger
Copyright (C) 2015-now Jan Vrany
This software is licensed under 'Creative Commons Attribution-NonCommercial 4.0 International License'
You may find a full license text in LICENSE.txt or at http://creativecommons.org/licenses/by-nc/4.0/
"
"{ Package: 'jv:vdb' }"
"{ NameSpace: Smalltalk }"
VT100TerminalView subclass:#VDBTerminalView
instanceVariableNames:''
classVariableNames:''
poolDictionaries:''
category:'VDB-UI-Console-Unix'
!
!VDBTerminalView class methodsFor:'documentation'!
copyright
"
jv:vdb - Visual / VM Debugger
Copyright (C) 2015-now Jan Vrany
This software is licensed under 'Creative Commons Attribution-NonCommercial 4.0 International License'
You may find a full license text in LICENSE.txt or at http://creativecommons.org/licenses/by-nc/4.0/
"
! !
!VDBTerminalView methodsFor:'initialization & release'!
closeStreams
"Do nothing here, streams should be closed by an application,
not the view!!"
"Created: / 12-06-2019 / 12:57:09 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !