You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
906 B

# How it Was
TTk:
- __init__()
```python
self._input = TTkInput()
self._input.inputEvent.connect(self._processInput)
self._input.pasteEvent.connect(self._processPaste)
```
- mainLoop()
```python
TTkTerm.registerResizeCb(self._win_resize_cb)
TTkTerm.init(
title=self._title,
sigmask=self._sigmask,
mouse=self._termMouse,
directMouse=self._termDirectMouse )
```
# How it Should Be
- __init__()
```python
TTkInput.inputEvent.connect(self._processInput)
TTkInput.pasteEvent.connect(self._processPaste)
TTkSignalDriver.sigStop.connect(self._SIGSTOP)
TTkSignalDriver.sigCont.connect(self._SIGCONT)
TTkSignalDriver.sigInt.connect( self._SIGINT)
```
- mainLoop()
```python
TTkInput.init(
mouse=self._termMouse,
directMouse=self._termDirectMouse)
TTkTerm.init(
title=self._title,
sigmask=self._sigmask)
```