Mariusz Glebocki
c0a46e2b08
Process key event even without active TerminalDisplay
...
Summary:
There are (more or less) valid cases when currentTerminalDisplay can be
not set:
* konsole started with `--background-mode`, `sendText` called via D-Bus
* text send through KPart's `sendInput()`
It can be assumed read-only is not set in this case.
This patch should also fix TerminalInterfaceTest. Currently the shell
probably doesn't get commands send through sendInput.
Test Plan:
* Run `konsole --background-mode --nofork & ; sleep 2; qdbus org.kde.konsole-$! /Sessions/1 sendText $'echo test\n'`
* Press Ctrl+Shift+F12
* The terminal should show `echo test` command and its result
Reviewers: #konsole, hindenburg
Reviewed By: #konsole, hindenburg
Subscribers: hindenburg, #konsole
Tags: #konsole
Differential Revision: https://phabricator.kde.org/D11762
2018-03-27 22:25:06 -04:00
..
2018-01-15 09:49:04 -05:00
2018-03-14 09:21:56 -04:00
2018-02-14 15:24:25 -05:00
2018-02-14 16:20:56 -05:00
2017-12-29 10:35:33 -05:00
2018-02-12 09:39:07 -05:00
2017-12-29 10:35:33 -05:00
2017-05-28 11:04:47 -04:00
2018-01-06 14:32:02 -05:00
2018-02-28 10:49:10 +01:00
2018-02-01 08:52:05 -05:00
2018-02-01 08:52:05 -05:00
2018-02-28 21:14:42 -05:00
2018-03-11 09:22:28 -04:00
2018-02-05 09:23:08 -05:00
2018-02-28 10:49:10 +01:00
2018-03-16 10:08:05 -04:00
2016-05-28 14:07:44 -04:00
2018-02-28 21:14:42 -05:00
2018-01-06 14:32:02 -05:00
2014-01-18 14:19:03 -05:00
2018-03-24 20:41:30 -04:00
2018-02-28 10:53:04 +01:00
2018-02-28 10:49:10 +01:00
2018-02-18 21:41:36 -05:00
2018-02-18 21:41:36 -05:00
2017-05-30 14:56:47 -04:00
2017-07-15 23:28:32 -04:00
2017-05-30 14:56:47 -04:00
2018-02-13 21:20:37 -05:00
2018-01-13 18:52:36 -05:00
2018-03-11 10:41:29 -04:00
2018-03-11 09:22:28 -04:00
2018-02-28 21:14:42 -05:00
2017-07-15 23:28:32 -04:00
2012-04-04 08:21:36 -04:00
2018-01-01 11:44:50 -05:00
2018-01-01 11:44:50 -05:00
2018-01-03 09:19:15 -05:00
2018-01-06 14:32:02 -05:00
2018-01-06 10:22:37 -05:00
2018-03-24 20:41:30 -04:00
2018-01-06 10:22:37 -05:00
2018-03-12 06:53:16 +01:00
2018-01-06 18:28:21 -05:00
2018-01-06 18:28:21 -05:00
2018-02-12 09:39:07 -05:00
2018-01-06 15:56:05 -05:00
2018-01-02 21:33:48 -05:00
2017-05-30 14:56:47 -04:00
2012-09-25 06:41:45 +08:00
2014-05-30 09:12:09 -04:00
2014-05-30 09:12:09 -04:00
2018-01-03 10:24:07 -05:00
2018-02-01 08:52:05 -05:00
2018-02-01 08:52:05 -05:00
2017-06-26 06:08:00 +02:00
2018-02-14 15:22:06 -05:00
2018-02-14 15:22:06 -05:00
2017-06-28 08:33:24 -04:00
2017-07-15 23:28:32 -04:00
2012-09-03 12:26:31 -04:00
2018-01-06 16:39:16 -05:00
2017-05-30 14:56:47 -04:00
2018-02-14 14:40:23 -05:00
2018-02-14 14:40:23 -05:00
2018-02-22 21:30:56 -05:00
2018-02-22 21:30:56 -05:00
2018-01-15 09:49:04 -05:00
2018-01-06 15:56:05 -05:00
2018-01-12 10:12:22 -05:00
2018-01-12 10:12:22 -05:00
2018-01-12 09:59:53 -05:00
2018-01-12 09:59:53 -05:00
2017-07-24 09:50:00 -04:00
2017-07-15 23:28:32 -04:00
2018-02-28 21:14:42 -05:00
2018-01-06 10:22:37 -05:00
2012-03-26 23:26:15 +08:00
2017-06-21 22:20:25 -04:00
2017-07-15 23:28:32 -04:00
2014-01-18 14:32:01 -05:00
2018-03-27 20:19:06 -04:00
2018-02-07 09:39:19 -05:00
2017-12-25 11:30:35 -05:00
2018-03-11 09:22:28 -04:00
2018-02-07 10:38:09 -05:00
2017-05-30 14:56:47 -04:00
2018-03-19 20:45:20 -04:00
2018-03-19 20:45:20 -04:00
2018-03-27 09:53:51 -04:00
2018-03-19 20:45:20 -04:00
2018-03-11 14:51:08 -04:00
2017-07-15 23:28:32 -04:00
2018-03-15 21:13:42 -04:00
2018-01-08 22:53:29 -05:00
2017-06-19 10:26:56 -04:00
2017-05-30 14:56:47 -04:00
2017-06-15 18:30:43 +02:00
2018-01-06 16:39:16 -05:00
2018-01-06 16:39:16 -05:00
2018-01-02 21:19:00 -05:00
2017-12-25 11:30:35 -05:00
2018-03-27 10:36:34 -04:00
2018-03-22 08:54:36 -04:00
2017-12-25 11:30:35 -05:00
2017-05-30 14:56:47 -04:00
2018-03-19 20:45:20 -04:00
2018-03-11 09:22:28 -04:00
2017-09-05 11:29:40 -04:00
2018-01-06 10:22:37 -05:00
2018-03-07 23:00:24 -05:00
2018-02-01 08:52:05 -05:00
2017-06-27 21:47:48 -04:00
2017-12-29 10:35:33 -05:00
2018-01-03 09:33:57 -05:00
2017-07-15 23:28:32 -04:00
2018-03-27 22:25:06 -04:00
2017-05-30 14:56:47 -04:00
2017-06-06 09:56:12 -04:00
2017-05-30 14:56:47 -04:00
2018-02-19 10:02:32 -05:00
2018-02-19 10:02:32 -05:00