262 Commits

Author SHA1 Message Date
Simon Gomizelj
181723932f cleanup the mess of structures somewhat 2013-08-07 15:16:34 -04:00
Evan Purkhiser
7982fac85c Add option for enabling size hints for the window
Cleaned up per discussion on #112
2013-08-07 14:53:40 -04:00
Mark Oteiza
840e16527e add C-[ as a binding to leave command mode 2013-07-15 12:30:30 -04:00
numeral
d9a9765a61 Make Pseudo Transparency Work!
Added pseudo_transparency bool in info_config struct, and changed set_opacity
to use it for vte_set_background_transparent().
2013-06-17 12:04:58 -04:00
Simon Gomizelj
86b6842b59 fix whitespace indent level
@Xecantur: please don't mess with the whitespace
2013-06-17 02:10:46 -04:00
Simon Gomizelj
85d49aca17 reorder options in manpage and --help 2013-06-17 02:07:24 -04:00
Simon Gomizelj
7c949dc22d don't convert float to bool 2013-06-17 02:07:24 -04:00
Justin Strickland
30ec184e77 implement --transparency/-x at the command line
Closes #100
2013-06-17 02:07:20 -04:00
Simon Gomizelj
a9ba1e9913 set VTE_VERSION to what gnome-terminal sets it
Addresses issue #99
2013-06-14 14:31:35 -04:00
Simon Gomizelj
661ededa76 docs: fix up man and usage for --title 2013-06-13 02:58:40 -04:00
numeral
e50b25a05c Add option to set arbitrary window name
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>
2013-06-04 02:09:05 -04:00
Simon Gomizelj
906301f977 set window background colour too
Setting the window background window won't remove the flickering, but
it should prevent it from being so glaring.

If it works, this fixes #87.
2013-06-02 12:19:15 -04:00
Daniel Micay
f39741347b set 100 columns as the long line limit 2013-04-12 07:00:08 -04:00
Simon Gomizelj
0b66678c01 don't actually need lambda's here 2013-04-11 21:10:51 -04:00
Simon Gomizelj
56ac2acf44 if the search fails, clear selection and try again
This really smells like we're working around a vte bug/limitation.
Thanks to @numerical.

This closes #76
2013-04-11 21:06:16 -04:00
Simon Gomizelj
05eb389c48 use nullptr over NULL everywhere 2013-04-11 15:35:05 -04:00
Simon Gomizelj
fb163c61da fix memory leak handling hints 2013-04-11 15:34:32 -04:00
numerical
63f52cea8b Improve and add colour to possible hint matches
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>
2013-03-26 19:26:18 -04:00
Simon Gomizelj
74621daafe add license header to termite.cc
Addresses issue #68
2013-03-20 16:38:52 -04:00
Daniel Micay
1b32c0af7f make geometry switch override the config file
Closes #69
2013-03-15 18:06:50 -04:00
numerical
c9636931ca smarter url hints 2013-03-03 07:14:30 -05:00
Daniel Wallace
b40bc580cb check against visual_bell option 2013-02-22 00:08:29 -05:00
Daniel Micay
6fb386b544 make the quick_url behavior the only option 2013-02-20 03:40:43 -05:00
Daniel Micay
c0af43dd53 rm the comma-separated hint feature 2013-02-20 03:19:04 -05:00
Daniel Micay
329e4ff9c6 calculate the # of digits with log10 and free str 2013-02-20 02:54:05 -05:00
Daniel Micay
f0c3f1a0f6 check for non-digits isn't necessary
launch_url does this already
2013-02-20 02:38:19 -05:00
Daniel Micay
c41934c5fd make style consistent 2013-02-20 02:38:06 -05:00
Ofear
928dc07fd8 add config option quick_url (defaults to off) to turn on quick url selection in the urlselection overlay 2013-02-19 18:19:38 -05:00
Ofear
30ec7ad3a6 change urlselect overlay to immediately select a link once the number of digits inputted is equal to the number of digits in the largest link 2013-02-19 16:57:29 -05:00
Hǎiliàng Wáng
567cb930fd Add support for setting configuration file path. 2013-01-21 01:10:08 +08:00
Daniel Micay
16426ed18f move configuration file to a directory 2013-01-06 19:26:11 -05:00
Daniel Micay
9faaf34665 free the directory argument 2013-01-05 00:09:06 -05:00
Daniel Micay
f327726f88 get rid of 'hints' global 2013-01-05 00:03:48 -05:00
Daniel Micay
a4b2862839 cleanup 2013-01-04 23:49:38 -05:00
Daniel Micay
87c9747015 cleanup 2013-01-01 16:43:07 -05:00
Daniel Micay
7ea11041ac fix comment for fallback exit path 2013-01-01 16:38:32 -05:00
Daniel Micay
9c20a943fb add --hold switch 2013-01-01 16:33:50 -05:00
Daniel Micay
7c6d8ac0e3 fix fallthrough bug 2012-12-13 10:26:26 -05:00
Daniel Micay
aa568da12f cleanup 2012-12-13 09:58:51 -05:00
Daniel Micay
c61a23e4d6 fix and document the exit status 2012-12-12 23:18:20 -05:00
Simon Gomizelj
2210a592b6 check font metric sanity 2012-11-30 13:11:15 -05:00
Simon Gomizelj
ecc402414b make vte font resizable
Work around unexposed interface. Ideally, imho, should be exposed by
VteTerminal itself.

This closes #45
2012-11-30 12:01:03 -05:00
Daniel Micay
27ccafdf77 Merge pull request #46 from dkasak/half-screen-movements
Half screen movements
2012-11-25 20:46:59 -08:00
Denis Kasak
30debe96ba Add half screen up/down movements to command mode. 2012-11-25 18:20:26 +01:00
Daniel Micay
266f1fb44e only the hints mode shortcut should exit cmd mode 2012-11-16 14:59:26 -05:00
Daniel Micay
c1567594c9 add a shortcut for entering hints mode 2012-11-16 14:55:56 -05:00
Daniel Micay
4415184eff switch the config reload binding 2012-11-16 14:31:31 -05:00
Daniel Micay
a3c554e563 start cleaning up color parsing 2012-11-14 20:49:13 -05:00
Daniel Micay
ed4a3b09c9 clean up get_config_cairo_color implementation 2012-11-14 20:06:28 -05:00
Daniel Micay
475f100dac minor cleanup 2012-11-14 19:44:54 -05:00