Show More
@@ -629,7 +629,13 b' class ConsoleWidget(QtGui.QWidget):' | |||
|
629 | 629 | cursor.removeSelectedText() |
|
630 | 630 | intercepted = True |
|
631 | 631 | |
|
632 | elif key == QtCore.Qt.Key_L: | |
|
633 | self.clear() | |
|
634 | intercepted = True | |
|
635 | ||
|
632 | 636 | elif key == QtCore.Qt.Key_X: |
|
637 | # FIXME: Instead of disabling cut completely, only allow it | |
|
638 | # when safe. | |
|
633 | 639 | intercepted = True |
|
634 | 640 | |
|
635 | 641 | elif key == QtCore.Qt.Key_Y: |
@@ -1285,7 +1291,10 b' class HistoryConsoleWidget(ConsoleWidget):' | |||
|
1285 | 1291 | source, hidden, interactive) |
|
1286 | 1292 | |
|
1287 | 1293 | if executed and not hidden: |
|
1288 | self._history.append(history.rstrip()) | |
|
1294 | # Save the command unless it was a blank line. | |
|
1295 | history = history.rstrip() | |
|
1296 | if history: | |
|
1297 | self._history.append(history) | |
|
1289 | 1298 | self._history_index = len(self._history) |
|
1290 | 1299 | |
|
1291 | 1300 | return executed |
|
1 | NO CONTENT: modified file |
General Comments 0
You need to be logged in to leave comments.
Login now