Commit Graph

843 Commits

Author SHA1 Message Date
Cédric Leporcq 8bd4844f0b WORKAROUND: Change $TERM env variable to xterm-color 2020-02-01 19:12:19 +01:00
Oliver Mangold d8bbedf883 Made keybindings customizable from config 2019-05-31 10:56:16 +02:00
Danilo Spinella fdd9ed4284 Add support for cross-compiling 2019-05-24 18:49:31 +02:00
jelle van der Waa 0ea077c248
Merge pull request #674 from Warepire/vte-0.55.0-off-by-one
Fix off-by-one in select_text() on libvte >= 0.55.0
2019-05-10 15:41:58 +02:00
Warepire 7e9a93b421 Fix off-by-one in select_text() on libvte >= 0.55.0
Version 0.55.0 rewrote the selection bounds and made them non-inclusive
of the end-position. Take this into consideration.
2019-05-09 23:16:16 +02:00
Richard Moreland 4aa842245f Add cell scaling options
Add a cell_height_scale and cell_width_scale option which is supported
since vte3 0.52.
2019-04-26 23:00:28 +02:00
Nico Tonnhofer 5ae8b0f383 Fullscreen only when pressing F11
Make F11 only go fullscreen when no other modifier such as shift/ctrl is
pressed.
2019-04-26 22:49:45 +02:00
Ryan Carins 470631b0b7 Make Ctr+-/+ work with numpad keys 2019-04-26 21:50:00 +02:00
Jelle van der Waa 1b67c5cdf5 Use non-deprecated vte_terminal_match_set_cursor_name
vte_terminal_match_set_cursor_type is deprecated, use the new
vte_terminal_match_set_cursor_name function introduced in 0.40
2018-11-11 14:09:10 +01:00
eroen 64e6bfe1d5 Use https for submodule
This silences a QA warning on Gentoo and should reduce the risk of MITM
attacks against users.
2018-11-11 13:48:34 +01:00
jelle van der Waa b3e923572a
Merge pull request #631 from carloabelli/issue245
Add bold_is_bright option
2018-11-11 13:40:34 +01:00
Carlo Abelli 6855a9b474 Add bold_is_bright option 2018-09-19 22:06:40 -04:00
jelle van der Waa 3e2c10f9f0
Merge pull request #599 from jelly/emoji
Document GTK's 'great' emoji input keybinding
2018-05-18 23:38:51 +02:00
Jelle van der Waa db9eb18e97 Document GTK's 'great' emoji input keybinding 2018-05-18 23:43:15 +02:00
jelle van der Waa 3dcf389430
Merge pull request #568 from dotdash/leak
Revert "Use std::make_unique from c++14 #360"
2018-02-13 16:33:32 +01:00
Björn Steinbrink 9aaf970fba Revert "Use std::make_unique from c++14 #360"
This reverts commit 8dd8f55088.

The make_unique function in util/memory.hh is not at all like
std::make_unique. The former is just a plain wrapper for the unique_ptr
constructor and makes the resulting unique_ptr take ownership of the
instance identified by the given pointer.

std::make_unique on the otherhand allocates a new instance of a given
type and makes creates a unique_ptr that has ownership of that instance.

So what the patch did was to allocate a char pointer, that did not
point at the string we're interested in, but instead points at the
pointer that points to that string. This means that the string that was
meant to be freed by the unique_ptr upon leaving its scope leaks.

Additionally, the check in open_selection() wasn't adapted to handle
the extra layer of indirection added by this change, so it always
assumed that there was some selection, and tried to open it, completely
breaking mouse usage.
2018-02-12 14:52:01 +01:00
jelle van der Waa a4af9e7e41
Merge pull request #567 from jelly/remove_geometry
Remove geometry
2018-02-11 02:32:29 +01:00
Rohan Rao b019a80b7c Remove geometry option from config and man pages 2018-02-11 02:36:21 +01:00
Jelle van der Waa 8f6ce5239f Remove deprecated geometry handling 2018-02-11 02:36:06 +01:00
jelle van der Waa 7138bc4949
Merge pull request #564 from 0xcpy/master
Use std::make_unique from c++14
2018-02-11 02:08:44 +01:00
0xcpy 8dd8f55088 Use std::make_unique from c++14 #360 2018-02-05 19:47:28 +01:00
Jelle van der Waa 051e2fbf66 Add missing case for c key
Fix the breakage introduced in 01bfd9f9ea
2018-02-03 14:25:39 +01:00
Jelle van der Waa 01bfd9f9ea vte_terminal_copy_clipboard() is deprecated in VTE 0.50 2018-01-27 15:37:33 -05:00
jelle van der Waa e9e72d0893
Merge pull request #543 from adlpz/master
Set title to passed command when executing with -e
2017-12-11 22:37:05 +01:00
Jelle van der Waa 3bc2a43bef Check if there is an selection when opening selection
Prevent a segfault when trying to open a selection, when there is no
selection.
2017-12-01 20:50:14 +01:00
Jelle van der Waa 9eda6c5913 Revert "Merge pull request #546 from ThrosturX/master"
This reverts commit 86db8ab133, reversing
changes made to 1f9ab29f74.
2017-12-01 18:50:06 +01:00
jelle van der Waa 86db8ab133
Merge pull request #546 from ThrosturX/master
fixed a segfault on attempting to open a void selection in a newly op…
2017-12-01 18:42:16 +01:00
throsturx 06170ca5e9 fixed a segfault on attempting to open a void selection in a newly opened terminal window 2017-11-29 14:41:57 +00:00
Adria Lopez b595d90ff5 Set title to passed command when executing with -e 2017-11-27 12:29:30 +01:00
jelle van der Waa 1f9ab29f74
Merge pull request #532 from kyrias/fix-urls
Need to fall back to check_match after hyperlink_check_event
2017-10-28 11:07:26 +02:00
Johannes Löthberg 459a8258a8 Need to fall back to check_match after hyperlink_check_event
vte_terminal_hyperlink_check_event only matches explicit OSC 8 marked
hyperlinks, so we still need to fall back to the existing check_match
function for the vast majority of URLs to be clickable.

Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
2017-10-28 01:32:52 +02:00
Josip Janzic 14ee4ff101 Add support for hyperlinks
More info:

https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda

https://bugzilla.gnome.org/show_bug.cgi?id=779734
2017-10-26 21:20:47 +02:00
Jelle van der Waa 285f4d77a3 README.rst: Update terminfo part
Update the installation part with a dedicated one for Arch. Use wget
instaed of scp for adding the terminfo to the server.
2017-10-14 21:47:21 +02:00
Jørn Lode 7adefddb66 url_regex: Don't allow : or / in passwords 2017-10-14 21:13:27 +02:00
Jørn Lode 4f558cd62d url_regex: Add missing : in <username>:<password> 2017-10-14 21:13:27 +02:00
jelle van der Waa 68b92d3702 Merge pull request #510 from xzfc/master
Add optional scrollbar
2017-08-20 11:23:17 +02:00
jelle van der Waa 01f8542ffb Merge pull request #441 from wbangna/vim-movement-top-middle-bottom
Vim movement top middle bottom
2017-08-18 21:38:08 +02:00
Jonatan Vela 8dad4e51e4 Support vim movements: H M L
Vim movements H, M and L implemented and documented.
2017-08-14 09:40:09 +02:00
Albert Safin d83ba0052d intruduce `.termite` CSS class 2017-08-13 12:28:14 +07:00
Albert Safin 9521dc3b11 add optional scrollbar 2017-08-13 12:28:14 +07:00
jelle van der Waa 3c2753bab2 Merge pull request #512 from xzfc/reset
Add ^L to reset and clear
2017-08-12 21:42:21 +02:00
Albert Safin 1ddbbe5d5f add ^L to reset and clear 2017-08-12 16:02:45 +07:00
jelle van der Waa fc70854161 Merge pull request #505 from eroen/master
Fix order of arguments in tic command
2017-07-27 11:04:33 +02:00
eroen 8c2adbc2c9 Fix order of arguments in tic command
hanetzer in #gentoo-chat on freenode reported errors like this when building
termite-12:

    tic -x termite.terminfo -o /tmp/portage/x11-terms/termite-9999/image//usr/share/terminfo
    tic: Too many file names.  Usage:
        tic [-e names] [-o dir] [-R name] [-v[n]] [-V] [-w[n]] [-1aCDcfGgIKLNrsTtUx] source-file

Moving the input filename to the end of the tic invocation seems to resolve
this for them, but I am unable to reproduce the issue.
2017-07-27 00:49:54 +02:00
jelle van der Waa d87e7c8269 Merge pull request #470 from kohlerm/master
improving shell detection
2017-07-08 21:37:29 +02:00
jelle van der Waa d7d90e47c9 Merge pull request #492 from jelly/config_parsing_failure
Handle invalid configuration file format
2017-07-08 21:00:13 +02:00
Jelle van der Waa 5dc2d638a0 Handle invalid configuration file format
Print an error when an invalid key/value config is given to termite.

Closes: #486
2017-07-08 20:59:43 +02:00
Jelle van der Waa 18b653954d man: Add keybinding to move forward to end of word
Describe the new keybindings e and E to move forward to end of word.
2017-07-08 20:57:46 +02:00
jelle van der Waa 5690a82ad0 Merge pull request #498 from janza/end-of-word-keybinding
Add keybinding to move forward to end of word
2017-07-08 20:54:26 +02:00
Josip Janzic c18668fe8e
Add keybinding to move forward to end of word
Closes #495
2017-07-05 22:38:18 +02:00