Jelle van der Waa
446a67a2d3
Disable blinking when moving cursor in selection mode
...
When moving the cursor in selection mode disabling blinking
mode. This behaviour is smiliar to moving the cursor in vim.
Closes : #275
2016-05-10 21:58:16 +02:00
jelle van der Waa
e7a8cdba54
Merge pull request #328 from ixjlyons/icon-switch
...
Add command line switch to set icon.
2016-05-06 21:20:55 +02:00
jelle van der Waa
672d7ebdb9
Merge pull request #343 from schoettl/visual_home_end
...
Add Home and End for 0 and $ respectively
2016-05-06 20:56:12 +02:00
Daniel Lockyer
f196f62ec9
termite.cc: pull out a method call into a variable so we can free it
2016-05-05 19:44:28 +01:00
Jelle van der Waa
dedf7b38bd
Resolve GCC 6.1 warning
...
GCC 6.1 warns about the comparison between an
long and double, cast the long to a double.
2016-05-04 21:37:42 +02:00
Earnestly
19e4a577fd
Include missing cmath header
...
Resolves https://github.com/thestinger/termite/issues/350
Signed-off-by: Earnestly <zibeon@gmail.com>
2016-05-04 16:25:54 +01:00
Daniel Micay
c252d4b55c
Merge pull request #348 from jelly/foreground_color_cursor
...
Add support to set the foreground cursor color
2016-04-28 19:57:16 -04:00
Jakob Schöttl
a37c385b35
Add Home and End for 0 and $ respectively
2016-04-28 22:53:09 +02:00
Jelle van der Waa
746ade831a
Add support to set the foreground cursor color
...
VTE 0.44.1 supports setting the foregorund color of
the cursor using vte_terminal_set_color_cursor_foreground
Closes : #284
2016-04-28 20:37:13 +02:00
Daniel Lockyer
f7c0aa54ed
main: add some free calls to free GOptionContext
...
Free the GOptionContext when we are done parsing it
in termite.cc@main.
2016-04-27 21:37:22 +02:00
Kenneth Lyons
b219f171c9
Prefer $SHELL over login shell.
2016-04-08 23:12:14 -07:00
Kenneth Lyons
d91ce8d614
Add command line switch to set icon.
2016-04-08 23:04:42 -07:00
Jelle van der Waa
00035a6db4
Replace deprecated vte_terminal_match_check
...
vte_terminal_match_check has been replaced by
vte_terminal_match_check_event which takes the GdkEvent
and does not need to be passed a row and col.
2016-03-22 20:43:28 +01:00
Jelle van der Waa
c747c9317e
Resolve missing field 'font_scale' initializer
...
The font_scale member of the struct config_info was not
initialized.
2016-03-21 21:34:30 +01:00
Daniel Micay
3563fb5314
Merge pull request #295 from jelly/gtk3-resolve-deprecations
...
Resolve GTK3 deprecation warnings
2016-02-08 10:10:19 -05:00
Jelle van der Waa
62a97deb69
Resolve GTK3 deprecation warnings
...
Remove the search_panel_info's panel, which was an alignment
widget for the entry widget. Since the entry widget can now
set alignment using it's margin properties.
Replace gtk_alignment_set_padding with gtk_widget_set_margin_*.
These changes make termite depend on GTK3 >= 3.14.
2016-02-05 21:17:31 +01:00
Jelle van der Waa
5d099931e3
Reset font size to startup default using a keybinding
...
Reset the font size to the default startup value
by pressing '=' in selection mode.
Closes : #164
2016-01-18 20:13:23 +01:00
Daniel Micay
1a7ce26028
Merge pull request #257 from holomorph/modify-other-keys
...
Modify other keys
2016-01-08 16:24:30 -05:00
Jelle van der Waa
20c9500fbe
Add a null check when pressing backspace
...
Closes : #270
2016-01-08 22:22:19 +01:00
Mark Oteiza
614eca0f03
produce escape sequences for some Ctrl-Meta- modified keys
2015-10-17 09:35:30 -04:00
Mark Oteiza
ab78455a4a
make table an argument of modify_other_keys
2015-10-17 09:35:30 -04:00
Mark Oteiza
b10a5f2fac
Make only possible hints visible
...
Originally written by numeral <numerical@gmail.com>
2015-09-18 22:53:34 -04:00
Daniel Micay
4b08fd998b
style fixes
2015-09-18 18:53:15 -04:00
Daniel Micay
ba63e3c33c
add padding to base/min size hints
...
Closes #174
2015-09-18 18:51:53 -04:00
Daniel Micay
eb1628c867
use xdg-open as the default fallback browser
2015-06-26 10:04:46 -04:00
Daniel Micay
0652af0220
improve compatibility with non-X11 backends
2015-06-22 13:26:34 -04:00
Daniel Micay
2b5af377aa
stop setting VTE_VERSION, as VTE sets it now
2015-06-22 13:06:06 -04:00
Daniel Micay
86e2bc88e8
style fixes
2015-06-22 12:36:24 -04:00
Daniel Micay
b1349a52ea
deal with gtk_widget_override_background_color deprecation
2015-06-22 12:31:41 -04:00
Daniel Micay
91bdd0dcbd
add technically required (no-op) g_spawn_close_pid
2015-06-22 12:09:12 -04:00
Matt Kemp
ecd495d737
Added Q as a key to return to insert mode.
2015-05-24 16:37:02 -05:00
Mark Oteiza
fa1943c76e
Set color palette size to 256
...
Required by vte 0.40.0
2015-04-10 05:39:53 -04:00
Daniel Micay
0928a1112a
fix bépo command mode binding
...
Closes #214
2015-03-24 19:20:29 -04:00
Simon Gomizelj
cb3dfb71a0
Screwed up my iterators, sorry
2014-11-10 21:04:09 -05:00
Simon Gomizelj
e2c9769f38
Match gnome-terminal with its font scaling logic
...
Gnome terminal jumps between a predefined set of font scales. libvte seems
to break if we try to jump in between them. This behaviour is an exact
match from what you get in gnome-terminal (and certainly looks
considerably better).
Relevant to issue #195 .
Closes #194 since it no longer crashes.
Probably a proper fix (finally) for #47 .
2014-11-10 20:45:02 -05:00
Simon Gomizelj
bed98f83e8
Port font scaling to the new VTE API
...
Closes #195
2014-11-10 20:12:23 -05:00
Daniel Micay
cc34465621
fix unused parameter warning
2014-10-27 12:53:26 -04:00
Daniel Micay
96668c23cf
rm resize grip setting, gtk dropped support for it
2014-10-27 12:39:26 -04:00
Daniel Micay
7612e90369
add back support for transparency
...
Closes #191
2014-10-27 12:25:58 -04:00
Daniel Micay
05f3bbf626
rm obsolete visual bell call (not in VTE anymore)
2014-09-21 22:54:24 -04:00
Daniel Micay
e63d868ed6
use the vte_terminal_spawn_sync wrapper
...
The vte_ptr_set_term function is gone, so there's no reason to create
the pty object manually.
2014-09-21 20:35:25 -04:00
Mark Oteiza
be4e2faf73
add ^B and ^F for paging in selection mode
2014-09-21 19:43:34 -04:00
Daniel Micay
e4ad66736a
rm extra newline
2014-09-21 19:20:48 -04:00
Daniel Micay
7f03ded730
port to vte 0.38.0
...
VTE is not making any attempt to maintain API stability. The following
changes to the API impacted Termite, despite it avoiding deprecated
functions:
* vte_pty_set_term removed (hopefully without an impact...)
* vte_terminal_get_child_exit_status replaced with new signal parameter
* beep signal -> bell signal
* vte_char_attributes -> VteCharAttributes
* sync suffix added to I/O functions along with some parameter changes
* rgba suffix removed from all color functions
* inner-border attribute replaced with GtkStyleContext padding
* vte_terminal_set_font_from_string removed, use Pango directly
* vte_terminal_is_word_char removed - is_word_char copied to Termite
* vte_terminal_set_word_chars removed - feature dropped
* vte_terminal_set_visible_bell removed - feature dropped
Support for text selection is still not supported upstream. The required
API is tiny and does not expose internal details. Despite the lack of a
compelling reason to leave it out like a backwards compatibility risk,
the patch has been left to rot on the bug tracker.
The vte_terminal_get_user_shell_with_fallback API was also removed,
although it was an internal API and Termite was only using it for
convenience. The functionality has been moved inside Termite.
Closes #187
2014-09-21 19:11:40 -04:00
Simon Gomizelj
76a707b665
use std::unique_ptr in more places
2014-08-24 12:07:27 -04:00
Simon Gomizelj
d20bee9a34
Add 'fullscreen' conf setting to disable F11
...
Settings fullscreen to false prevents termite from intercepting F11.
See #144
2014-06-26 23:58:55 -04:00
Simon Gomizelj
85f8a2691a
fix memory leak
2014-03-08 18:24:48 -05:00
Simon Gomizelj
3b078b83a0
Query padding before drawing hints
...
Hints are not getting placed in the right place when vte has an
inner-padding. Start taking this into consideration.
Relevant to issue #162
2014-03-08 17:32:40 -05:00
Simon Gomizelj
2bf484277b
Fix vte padding calculations.
...
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
2014-03-08 17:32:40 -05:00
Mark Oteiza
d4f8e66568
provide a modify_other_keys config option. defaults to false
2014-03-07 19:45:39 -05:00