mirror of
https://github.com/KDE/konsole.git
synced 2025-12-23 23:38:08 -05:00
Offer input hints for the widget
We don't want input methods to insert a capital letter to start or to offer predictions as they'll be misleading.
This commit is contained in:
@@ -247,6 +247,7 @@ TerminalDisplay::TerminalDisplay(QWidget* parent)
|
||||
// terminal applications are not designed with Right-To-Left in mind,
|
||||
// so the layout is forced to Left-To-Right
|
||||
setLayoutDirection(Qt::LeftToRight);
|
||||
setInputMethodHints(Qt::ImhNoPredictiveText | Qt::ImhNoAutoUppercase);
|
||||
|
||||
_contentRect = QRect(_margin, _margin, 1, 1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user