QScintilla/Terminal.py

changeset 1739
db21de268131
parent 1588
dccffd13be8d
child 1743
4f9afcd8eb9d
equal deleted inserted replaced
1736:8b80cd598ebe 1739:db21de268131
213 Private method to send data to the shell process. 213 Private method to send data to the shell process.
214 214
215 @param data data to be sent to the shell process (string) 215 @param data data to be sent to the shell process (string)
216 """ 216 """
217 pdata = QByteArray() 217 pdata = QByteArray()
218 pdata.append(data) 218 pdata.append(bytes(data, encoding="utf-8"))
219 self.__process.write(pdata) 219 self.__process.write(pdata)
220 220
221 def __sendCtrl(self, cmd): 221 def __sendCtrl(self, cmd):
222 """ 222 """
223 Private slot to send a control command to the shell process. 223 Private slot to send a control command to the shell process.

eric ide

mercurial