Commit Graph

177 Commits

Author SHA1 Message Date
Vulcalien
f65770d982 Bug Fix: 'Clear selection on copy' is always unchecked 2021-06-02 16:31:48 +02:00
Matt Rose
5455ac2f3e
Merge pull request #399 from nojhan/feat+RunCmdOnMatch
Feat+run cmd on match
2021-04-13 16:47:36 -04:00
nojhan
eef5ffb01f fix link_single_click configuration 2021-03-09 09:22:22 +01:00
nojhan
8f0e8add14 feat: hidden plugins, managed URLhandlers, RunCmdOnMatch plugin
- Plugins starting with underscore will not be displayed by the
  preference/plugins window.
- This allow to add URLhandlers plugins on-the-fly.
- Add the RunCmdOnMatch plugin, which creates URLhandlers plugins
  based on a regexp/command pair.
- If an URLhandler plugin returns a prepared URL starting with "terminator://",
  then terminator will not try to open it with the URL handler (like xdg-open).
2021-03-04 21:09:15 +01:00
nojhan
c47f3a2bad add feat: config to open links with single click
Instead of Ctrl-left click.
2021-03-04 11:17:26 +01:00
Matt Rose
e40f9fe651
Merge pull request #314 from mattrose/zoom-all-keybind
issue 271: add keybindings to zoom all terminals at once
2020-12-30 16:24:17 -05:00
Matt Rose
3c4bbf4881 fix 319: refresh layout after save 2020-12-30 15:43:12 -05:00
Jose Augusto
a53dea6fa5 remove rewrap on resize from option and remove functions too 2020-12-27 19:48:41 -03:00
Matt Rose
427c65f2cc Revert "Merge pull request #36 from waldner/master"
This reverts commit 6c56f32eeb, reversing
changes made to 904676057e.
2020-12-27 13:29:30 -05:00
Matt Rose
6c56f32eeb
Merge pull request #36 from waldner/master
fast resize keyboard shortcuts
2020-12-03 19:29:48 +00:00
Matt Rose
8f94a674d9 issue 271: add keybindings to zoom all terminals at once 2020-12-03 13:43:05 -05:00
Matt Rose
18ed95abe7 fix background image profile preferences ui 2020-11-19 11:49:45 -05:00
Matt Rose
1822d6ccb1 add config entry and preferences GUI 2020-10-19 17:14:40 -04:00
Matt Rose
6df1304563
Merge pull request #224 from dkmvs/fix-keybinding-accel-clearing
Fix: Key Binding Clearing in `Preferences > Keybindings`
2020-10-14 14:00:10 -04:00
Matt Rose
8db142d92b add GUI controls for background image 2020-09-30 10:20:02 -04:00
dkmvs
840a95eeb2 Use Empty String for Cleared Accels
When a key binding is cleared its value is now set to "" (an empty
string) instead of `None` as before.

This change is introduced because `Gtk.accelerator_parse` does not
allow `None` to be used as a value, which in turn breaks
`on_cellrenderer_accel_edited` function in
`terminatorlib/prefseditor.py` by raising a `TypeError` every time a
new key binding is introduced. Note that this only happens if at
least one key binding has been cleared first.
2020-09-29 17:10:56 +03:00
Matt Rose
e1476a2ef2
Merge pull request #215 from mattrose/add-prefs-key
fix spacing
2020-09-22 17:04:51 -04:00
Matt Rose
0ff6a7b498 fix spacing 2020-09-22 16:59:26 -04:00
Matt Rose
71d4713d61
Merge pull request #209 from mattrose/add-prefs-key
add preferences keybindings
2020-09-22 16:58:37 -04:00
dkmvs
6c404d0355 Allow Shift+Tab Key Binding Accelerator
This commit allows to assign the `Shift+Tab` key binding to an action in
`Preferences>Keybindings`.

In GTK the Tab key can be modified by the Shift key. Such a key combination
has a special key value - `Gdk.KEY_ISO_Left_Tab`.
To allow it, `key = key_with_shift.keyval` was added to the code.

However, `Gdk.KEY_ISO_Left_Tab` key value is displayed as `Left Tab` in
`Preferences>Keybindings`, which is confusing as it is not obvious that it
corresponds to the `Shift+Tab` key combination. To make sure that `Shift+Tab`
is displayed as `Shift+Tab`, the `Shift+Tab` case is treated as if no Shift
was pressed at all.
2020-09-14 04:26:13 +03:00
Matt Rose
6ec295cdbc add preferences keybindings 2020-09-11 20:47:57 -04:00
dkmvs
1b5b584669 Add Tests for Preferences>Keybidings
This commit adds tests that check that:
1) Default key binding accelerators are distinct.
2) Message dialog appears when a duplicate key binding accelerator is
attempted to be assigned to a different action.
3) Duplicate key binding accelerator cannot refer to more than one action.

Also, `active_message_dialog` attribute was added to `PrefsEditor`, so
that tests could get a reference to a message dialog window.
2020-09-02 16:39:20 +03:00
dkmvs
46e78520c4 Forbid Duplicate Key Bindings
This commit forbids setting duplicate key bindings in
`Preferences > Keybindings` tab.

If a duplicate key binding is detected upon editing, such a key binding
is not assigned and instead a message dialog is displayed saying that the
key binding is a duplicate.
2020-09-02 15:25:20 +03:00
Matt Rose
1ad579ce03
Merge pull request #195 from mattrose/add_key_create_group
Key binding option for creating group in current terminal
2020-08-25 15:56:59 -04:00
Matt Rose
2b6fbe5048 Key binding option for creating group in current tab 2020-08-25 15:50:40 -04:00
Phi
a495f290bf Add a 'title bar at bottom' option 2020-08-15 18:15:55 +02:00
Aaron Faanes
a3ef71548e Allow live previewing of profile color changes 2020-07-07 19:48:42 -05:00
dkmvs
279a3e10e6 Fix: Allow Key Bindings with Shift-Modified Keys
This commit allows to set key bindings that contain
a key modified by a Shift key (e.g. `Ctrl + {`).
For example, after pressing `Ctrl + Shift + [`,
a key binding will be set to `Ctrl + {` as opposed
to `Ctrl + Shift + {` as before.

This is achieved by checking whether a key changes its
value when a Shift key is down. If it does, then the
Shift modifier is removed from `mods`. One exception:
if a key binding contains a letter then the Shift
modifier is not removed. This is because, for some
reason, a key value of a letter is never modified by the
Shift modifier and always corresponds to a key value of
a lowercase character. This is already handled in
`terminatorlib/keybindings.py`.

Resolves: #149
2020-06-27 23:42:04 +01:00
robertoetcheverryr
e9a8c42fff Fixed bug in prefseditor.py 2020-06-23 10:08:17 -03:00
Douglas Bacon
3d128f0334 add line-height slider 2020-06-21 14:35:50 -04:00
robertoetcheverryr
c8db3e38aa Added putty_paste_style_source_clipboard 2020-06-19 02:15:13 -03:00
Matt Rose
86f90337f6
Merge pull request #46 from filipkilibarda/master
Added option to disable ctrl+mousewheel zoom
2020-06-02 22:12:28 -04:00
Filip Kilibarda
e4160dddc9 Added option to disable ctrl+mousewheel zoom 2020-04-28 22:57:15 -07:00
Jakub Vaněk
7ea105492f
feat(prefs): add prefs UI for bold_is_bright option (#38) 2020-04-25 20:25:48 +02:00
waldner
8552037fc8 fast resize keyboard shortcuts 2020-04-22 10:14:16 +02:00
Markus Frosch
23135f2ca5 Fix shebang and executable flag for all scripts 2020-04-05 16:36:06 +02:00
Emilio Pozuelo Monfort
a3a67385fd Adopt patch "python3" from Debian
https://bugs.launchpad.net/terminator/+bug/1662544
2020-04-05 14:07:13 +02:00
Stephen Boddy
3e9f7742d5 Fix hide on lose focus due to our own menus and Preferences (Juliano Fischer Naves + Steve Boddy) 2017-06-24 04:02:38 +02:00
Stephen Boddy
bba9e2237a Remove auto-capitalisation of profiles in menu, add sorting, and fix exception when adding new one in prefs 2017-02-19 16:57:36 +01:00
Stephen Boddy
96a1e67749 Fix an exception with an unexpected keyword getting passed to set_cursor 2017-02-06 17:32:30 +01:00
Stephen Boddy
a748db277c Fix some strange behaviour when clicking on the trough of a scale (i.e. stepping) The previous value gets read, not the current. 2016-12-12 19:07:08 +01:00
Stephen Boddy
0bd8af4304 Add the ability to deactivate extra theme dependant styling 2016-12-12 12:27:56 +01:00
Stephen Boddy
24d3ed455a A chunk of work bringing the prefs glade file into the gtk3 world 2016-12-12 11:29:19 +01:00
Stephen Boddy
3a6eb144a2 Add gruvbox palette to dropdown as preset 2016-12-07 19:46:21 +01:00
Stephen Boddy
52b578e6eb Allow larger separators 2016-12-06 02:01:48 +01:00
Stephen Boddy
da37f398fa Fix terminator not working with default python3 by forcing python2 2016-11-25 02:29:55 +01:00
Stephen Boddy
f0330dadf3 Added radio options to the Cursor colour to make it easier to go back to the XOR'd foreground colour 2015-12-03 15:37:16 +01:00
Stephen Boddy
7518c16588 Some ports of some gtk2 commits that were still outstanding
* Fix the tab switching if a terminal on another tab exits
* Fix for those not running IBus, where the IBus workaround caused broken keys in other keymaps set with non-IBus tools
* PuTTY paste mode
* Updated and grouped default shortcuts in man page
* Fix PuTTY paste mode so Ctrl-Right-Drag, and application mouse handling in terminal still works
* Added smart copy mode switch to prefs
* Merge feature branch for tab/terminal title editing from Haim Daniel
2015-12-01 02:21:00 +01:00
Stephen Boddy
295f884c6d (trunk-1683) Merge feature branch for tab/terminal title editing from Haim Daniel 2015-12-01 00:57:18 +01:00
Stephen Boddy
9115b62928 (trunk-1667) Added smart copy mode switch to prefs 2015-12-01 00:35:06 +01:00