Commit Graph

3213 Commits

Author SHA1 Message Date
Vulcalien 4005958bf9 Remove completion for --profile and --layout
The feature doesn't work well for items with spaces or quotes in the
name.
2021-12-18 14:49:45 +01:00
Vulcalien c574d77374 Remove duplicated variable 2021-12-18 11:58:38 +01:00
Vulcalien 0ed248c0c7 Clear pending events after unzoom + navigate/rotate
Navigation is consistent
2021-12-17 19:51:22 +01:00
Fernando Basso bd5dba5b08 Refactor line height to cell height
After the previous commit [1], which implements ‘cell width’, it makes
sense to rename ‘line height’ to ‘cell height’, especially because it is
the terminology used by VTE itself [2].

1. ef1768505c Add cell width configuration in preferences
2. https://lazka.github.io/pgi-docs/Vte-2.91/classes/Terminal.html#Vte.Terminal.set_cell_height_scale
2021-12-14 06:30:58 -03:00
Vulcalien 8c90bb4dc3 Unzoom terminal on interaction
There is a bug: strange behavior for navigation and rotation
2021-12-10 20:57:48 +01:00
Matt Rose d3125c29f8
Merge pull request #551 from Vulcalien/set-background-image-error
Improve and optimize the code for background images
2021-12-10 07:52:28 -05:00
Fernando Basso ef1768505c Add cell width configuration in preferences
Currently, we have a setting for changing the line height (cell height),
but not for changing cell width (both available in VTE).

Depending on the font used, it is useful to have the ability to set a
little more space between characters.

This commit adds a configuration similar to the existing one for line
height, but for character space (cell width scale [1]).

Thanks Matt Rose for helping and encouraging me to implement this.

1. https://lazka.github.io/pgi-docs/Vte-2.91/classes/Terminal.html#Vte.Terminal.set_cell_width_scale
2021-12-10 07:58:02 -03:00
Vulcalien 1118fb0cfd Use FAST as filter for scaling background image 2021-12-10 00:35:34 +01:00
Vulcalien 122b0fe3ae background_draw: organize code 2021-12-09 23:01:58 +01:00
Vulcalien 5a6237cc47 Performance: use Surface instead of PixBuf 2021-12-09 23:00:35 +01:00
Vulcalien a06e7951f6 Update background image without restarting 2021-12-08 16:05:38 +01:00
Vulcalien 25902fd73e Only set background_image if background_type is 'image'
+ Fixed code duplication
2021-12-08 12:05:28 +01:00
Matt Rose 62716872df
Merge pull request #549 from Vulcalien/none-keybindings
Fix: 'None' value for keybindings breaks editor
2021-12-07 14:30:09 -05:00
Vulcalien b2d15898a2 Fix: 'None' value for keybindings breaks editor
The bug: Gtk.accelerator_parse throws an error if the arg is None.
This means that if one keybinding is set to None, it is impossible to
set any new keybinding.
2021-12-07 16:09:56 +01:00
Matt Rose 4ab3343e61
Merge pull request #546 from mattrose/issue-539
don't traceback while searching through /proc
2021-12-02 07:59:50 -05:00
Matt Rose f87c1f82ef don't traceback while searching through /proc 2021-12-01 20:33:30 -05:00
Matt Rose 00ea7e458f
Merge pull request #544 from xuezhixin/master
os.environ does not have LANGUAGE in Centos8.
2021-12-01 19:18:29 -05:00
xuezhixin 35e4ee7286 Added Lang option 2021-12-02 00:10:19 +08:00
xuezhixin 5f9544b3b3 Lang in os.environ is used as an alternative 2021-12-01 21:32:49 +08:00
Matt Rose a21575b0ab Update issue templates
Add the flag to disable dbus to the suggested terminator command, to stop dbus from picking up the terminator instance with the bad config.

Also, added a Wayland or X11 Question in the template at Vulcalien's suggestion
2021-11-11 14:29:49 -05:00
Matt Rose 2ac33bb6bd
Merge pull request #536 from Vulcalien/vte-set-encoding
Remove Encoding settings (deprecated)
2021-11-11 14:22:47 -05:00
Vulcalien 308c8d81a2 Remove encoding from the Context menu 2021-11-06 11:55:33 +01:00
Vulcalien 9f7ed7ee21 Remove encoding from the Preferences menu 2021-11-06 11:43:23 +01:00
Matt Rose 62e111d8df
Merge pull request #515 from tomty89/not_none
Fix hide_window keybinding unset check
2021-11-02 16:59:02 -04:00
Matt Rose 5d43005df1
Merge pull request #519 from caprinux/master
Fix terminal separator size setting
2021-11-02 16:57:29 -04:00
Matt Rose a9e4fcd2ad
Merge pull request #525 from VDuchon/multiline_custom_commands
Allow multiline commands in Custom Commands plugin
2021-11-02 16:56:46 -04:00
Vojtech Duchon (Ext) 0a4affee66 Allow multiline commands in Custom Commands plugin 2021-10-12 08:49:54 +02:00
Vulcalien 817f820cfb Change output of --list-profiles and --list-layouts
Bash completion is also added for --profile and --layout but it won't
work if the profile/layout has quotes or spaces in the name.
2021-10-11 12:04:47 +02:00
Vulcalien 4dbfcb481b Fix bash completion regex 2021-10-10 15:35:46 +02:00
Matt Rose 65c630b43a
Merge pull request #520 from rkitover/primary-selection-keybind
Add paste_selection keybinding.
2021-10-01 12:15:17 -04:00
Rafael Kitover 705322dfff
Add paste_selection keybinding.
Unbound by default, pastes primary selection.

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2021-10-01 02:47:15 +00:00
caprinux c8cd50ba9a modify terminator separater size setting in gui to start from 1 2021-09-26 22:51:18 +08:00
Matt Rose 0b2d91786c
Merge pull request #516 from Vulcalien/keybinding-menu
Automatically focus the Keybindings menu
2021-09-21 16:08:39 -04:00
Vulcalien ed157684f3 Automatically focus the Keybind menu
This makes the search bar work without having to click the widget.
2021-09-19 17:23:47 +02:00
Tom Yan 3c33a7770d Fix hide_window keybinding unset check
We use empty string for unset, not None
2021-09-19 13:40:15 +08:00
Vulcalien 30aabfe6d1 Update translation files 2021-09-14 19:01:37 +02:00
Matt Rose 5f8dabfd0c
Merge pull request #512 from Vulcalien/mouse-paste
Add 'Disable mouse paste'
2021-09-13 17:34:19 -04:00
Vulcalien 2251a3489b Implement GUI for disable_mouse_paste 2021-09-13 12:11:01 +02:00
Vulcalien fa09ba0cda Add setting 'disable_mouse_paste' 2021-09-12 22:13:01 +02:00
Matt Rose 28a2b0328f
Merge pull request #510 from Vulcalien/hide-window
Bug Fix: hide_window keybinding ignores Shift key
2021-09-11 15:25:36 -04:00
Vulcalien 8381045d5a Bug Fix: hide_window keybinding ignores Shift key 2021-09-11 17:57:13 +02:00
Vulcalien 4d00f83084 Obsolete "optparse" library replaced by "argparse" 2021-09-09 16:05:39 +02:00
Vulcalien 8f41308cb2 Add --list-profiles and --list-layouts options 2021-09-09 11:48:19 +02:00
Vulcalien 40a2bb3843 Bash completion 2021-09-09 01:04:42 +02:00
Matt Rose b0cae43512
Merge pull request #499 from Vulcalien/master
Add a "Copy" button to clone profiles
2021-09-02 21:10:26 -04:00
Matt Rose d57314ca6c
Merge pull request #501 from mattrose/issue-405
add Set Window Title item to context menu
2021-08-30 20:47:26 -04:00
Matt Rose a7d9304f2f add Set Window Title item to context menu 2021-08-30 20:41:27 -04:00
Matt Rose 0548341806
Merge pull request #500 from Vulcalien/restart-command
BugFix: terminal won't restart if there is no custom command
2021-08-30 20:02:13 -04:00
Vulcalien 672e6fb4c8 BugFix: terminal won't restart if there is no custom command 2021-08-31 01:48:41 +02:00
Vulcalien cbd8f0e3a8 Add a "Copy" button to clone profiles 2021-08-30 17:55:42 +02:00