QScintilla/Terminal.py

branch
5_2_x
changeset 1742
c34ac31c84aa
parent 1589
9f0fef4a4fbe
child 1744
a297b2f21fd3
equal deleted inserted replaced
1738:8533e79185b4 1742:c34ac31c84aa
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