QTerminalEdit:
- fixed bug in command history
- initial implementation of custom cursor (some bugs need to be fixed)