Commit Graph

193 Commits

Author SHA1 Message Date
Daniel Micay f96ea8689d use config file to set colors 2012-06-07 15:01:40 -04:00
Daniel Micay c2d12b7503 move foreground/background color to config file 2012-06-07 14:43:41 -04:00
Daniel Micay a20849d453 set cursor color from config 2012-06-07 14:39:02 -04:00
Daniel Micay c3c5bf131e move setting colors to load_config 2012-06-07 14:36:50 -04:00
Daniel Micay dba6bc7357 move CLICKABLE_URL setting to config 2012-06-07 14:15:31 -04:00
Daniel Micay 859a0b2022 minor cleanup 2012-06-07 14:10:57 -04:00
Daniel Micay 5a0b025f52 move ICON_NAME to config file 2012-06-07 14:10:38 -04:00
Daniel Micay a502d52045 use g_clear_error 2012-06-07 13:59:28 -04:00
Daniel Micay 17275bd887 move URGENT_ON_BEEP and DYNAMIC_TITLE to config 2012-06-07 13:54:15 -04:00
Daniel Micay d1f54e57fc move cursor_blink and cursor_shape to the config 2012-06-07 13:36:03 -04:00
Daniel Micay 727e2e34a5 rm redundant cast 2012-06-07 13:24:05 -04:00
Daniel Micay 4de7c2d2f5 free the font string 2012-06-07 13:23:06 -04:00
Daniel Micay a5cfc12864 set scrollback_lines via config 2012-06-07 12:58:07 -04:00
Daniel Micay abf580c186 set font via termite.cfg 2012-06-07 12:55:08 -04:00
Daniel Micay 9748445778 get rid of code duplication with a macro 2012-06-07 12:43:09 -04:00
Daniel Micay 3a799f80d9 move the rest of the boolean settings to key file 2012-06-07 12:35:01 -04:00
Daniel Micay 226f39f08a start on config file implementation 2012-06-07 12:22:24 -04:00
Daniel Micay 2d30ac51c6 cleanup README 2012-06-06 22:12:33 -04:00
Daniel Micay f3702b392b remove unused for loop variable 2012-06-06 22:06:46 -04:00
Daniel Micay 13f5df98ea completion works well now 2012-06-06 21:29:17 -04:00
Daniel Micay c9f773f4a5 add subsections to README 2012-06-06 21:27:31 -04:00
Daniel Micay 137e8794bb clean up 2012-06-06 21:26:22 -04:00
Daniel Micay 89a3ddd864 fetch the whole buffer for completion 2012-06-06 21:22:26 -04:00
Daniel Micay 220f98fb28 Merge branch 'master' into scrollback-completion 2012-06-06 21:07:05 -04:00
Daniel Micay 8a4e9f7762 is_selected argument to get_text can just be NULL 2012-06-06 21:06:24 -04:00
Daniel Micay f7d751d043 get rid of old cursor_blink setting 2012-06-06 20:59:13 -04:00
Daniel Micay 564b21c2dc free the tree too 2012-06-06 20:54:33 -04:00
Daniel Micay 7b36f70f6f free string used for completion 2012-06-06 19:17:39 -04:00
Daniel Micay a678d559ec Merge branch 'master' into scrollback-completion
Conflicts:
	README.rst
2012-06-06 11:42:51 -04:00
Daniel Micay 50f23b3ade document scrollback completion 2012-06-06 11:42:15 -04:00
Daniel Micay 8ba2f5361a minor cleanup 2012-06-05 19:39:44 -04:00
Daniel Micay 44d883e04d really fix completion this time 2012-06-05 19:28:55 -04:00
Daniel Micay 2fb67a3f5a add \t as a separator for completion tokens 2012-06-05 15:24:05 -04:00
Daniel Micay 0e9b3a86ce insert the current completion on return 2012-06-05 12:51:23 -04:00
Daniel Micay e31fe139fb TODO update 2012-06-04 15:56:53 -04:00
Daniel Micay 1e04f80965 add a setting for the cursor color 2012-06-04 14:57:27 -04:00
Daniel Micay 2f75ce63f5 Merge branch 'master' into scrollback-completion 2012-06-04 11:20:41 -04:00
Daniel Micay 2cc781c241 use g_signal_connect_swapped to clean up a bit 2012-06-04 11:19:59 -04:00
Daniel Micay dd5699a65a update README 2012-06-04 10:52:52 -04:00
Daniel Micay 3f541cd1fc Merge branch 'scrollback-completion' of https://github.com/vodik/termite into scrollback-completion
Conflicts:
	termite.c
2012-06-04 10:48:14 -04:00
Daniel Micay 98aae37d2e Merge branch 'master' into scrollback-completion 2012-06-04 10:41:34 -04:00
Daniel Micay b31388d4fc leave url_regex outside of an ifdef for now 2012-06-04 10:40:46 -04:00
Simon Gomizelj 586dff08ec Clear the entry and use vte_terminal_feed_child.
vte_terminal_feed write to the underling vte while
vte_terminal_feed_child properly simulates keyboard input. The later
is needed, otherwise input can't be erased.
2012-06-04 04:46:50 -04:00
Simon Gomizelj cc8bb5224d Small formatting changes. 2012-06-04 01:50:59 -04:00
Simon Gomizelj 90bb50597a You prefer this inlined. 2012-06-04 01:50:58 -04:00
Simon Gomizelj 63293797f3 Add overlay_show to reduce repetition. 2012-06-04 01:50:58 -04:00
Simon Gomizelj fdd413c854 Move scrollback completion into the overlay.
I also implemented the logic needed to "simulate" the input to the Vte.

As a bonus, the search function also gets completion (this was
unintentional but interesting enough that I let it be).

Visible issues:

- The down key doesn't pop up the completion, it gives focus back to the
  terminal.
- The enter key does not select an item from the drop down list, it
  closes the entry and accepts the input as is.

Maybe the completion popup delay should be configurable and the default
value decreased?
2012-06-04 01:50:58 -04:00
Daniel Micay 5f0c4555a9 some cleanup 2012-06-03 11:26:31 -04:00
Daniel Micay afdad33118 add TODO note 2012-06-02 22:01:33 -04:00
Daniel Micay 3300131801 do_widget -> vte 2012-06-02 21:59:56 -04:00