Sometimes we only care about left and top offsets. get_vte_padding is
currently returning left + right and top + bottom, leading to
check_match miscalculating its offsets.
Closes#162
current xterm has the resource modifyOtherKeys which, when enabled,
constructs escape sequences for many Ctrl-, Shift-, and Meta- modified
keys. This implements support for some Ctrl- modified keys.
Small patch that copies the match into the default clipboard using
gtk_clipboard_set_text(). Maybe consider which clipboard to use
(such as PRIMARY OR SECONDARY) instead based on a config option, although
that may be overkill (especially since PRIMARY is supposed to be ephemeral
or something)
Signed-off-by: Simon Gomizelj <simongmzlj@gmail.com>
Hints don't make sense if there's no browser set, but checking if
browser is null makes for cleaner code. Note this wasn't wrong,
clickable_url will be set to false if browser is null.
I considered replacing this with `gtk_widget_set_opacity`, but it's no
more usable than window manager transparency since the font is transparent.
Since this is already broken with URL hints and won't be around in the
future, it might as well go sooner rather than later.
Closes#128Closes#39
This has been deprecated upstream, and there isn't going to be a way to
preserve the functionality. True transparency is also deprecated as a
feature of the VTE widget, but should be possible with GTK itself.
Added main() level scoped char* to hold title. Added a GOptionEntry
for grabbing the title with a switch. If the switch is given we
force dynamic title to be false and don't connect vte window title
change signal to top level window change. That is all folks.
Signed-off-by: numeral <numerical@gmail.com>
Changed URL hinting to be a lot smarter and to colour hints when
possible matches are found.
- Add active_foreground and active_background config options
- Add a new char* to hold entry text for checking against when redrawing
Signed-off-by: numeral <numerical@gmail.com>
Signed-off-by: Simon Gomizelj <simongmzlj@gmail.com>