-
-
Notifications
You must be signed in to change notification settings - Fork 113
Rework terminal settings #1585
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Rework terminal settings #1585
Conversation
# Conflicts fixed: # src/Widgets/Terminal.vala
src/Widgets/Terminal.vala
Outdated
@@ -233,7 +321,7 @@ public class Code.Terminal : Gtk.Box { | |||
return Gdk.EVENT_PROPAGATE; | |||
} | |||
|
|||
if (CONTROL_MASK in modifiers && pantheon_terminal_settings.get_boolean ("natural-copy-paste")) { | |||
if (CONTROL_MASK in modifiers && terminal_settings.get_boolean ("natural-copy-paste")) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we check for terminal_setting == null here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah yes! Thanks for spotting that.
* Handle Shift-Control copy-paste anyway
Now implements Shift-Control modified copy-paste keys in absence of terminal settings (the Vte widget does not so cannot just propagate). This follows Terminal app behaviour. |
Fixes #1586
Fixes #276
The behaviour with regard to Terminal/System style settings is unchanged - this will be addressed in a separate PR.
The Terminal pane only responds to changes in the Terminal "foreground", "background" and "palette" keys but not "window-style" or "cursor-color".