expose more VTE settings
This commit is contained in:
parent
e4a92c7efd
commit
d859e35dea
5
config.h
5
config.h
|
@ -31,6 +31,11 @@ static const char *colors[16] = {
|
|||
static const bool scroll_on_output = false;
|
||||
static const bool scroll_on_keystroke = true;
|
||||
|
||||
static const bool audible_bell = false;
|
||||
static const bool visible_bell = false;
|
||||
|
||||
static const bool mouse_autohide = false;
|
||||
|
||||
static const char *term = "xterm-256color";
|
||||
|
||||
#endif
|
||||
|
|
3
term.c
3
term.c
|
@ -49,6 +49,9 @@ int main(int argc, char **argv) {
|
|||
vte_terminal_set_font_from_string(VTE_TERMINAL(vte), font);
|
||||
vte_terminal_set_scroll_on_output(VTE_TERMINAL(vte), scroll_on_output);
|
||||
vte_terminal_set_scroll_on_keystroke(VTE_TERMINAL(vte), scroll_on_keystroke);
|
||||
vte_terminal_set_audible_bell(VTE_TERMINAL(vte), audible_bell);
|
||||
vte_terminal_set_visible_bell(VTE_TERMINAL(vte), visible_bell);
|
||||
vte_terminal_set_mouse_autohide(VTE_TERMINAL(vte), mouse_autohide);
|
||||
|
||||
// set colors
|
||||
GdkColor foreground, background;
|
||||
|
|
Loading…
Reference in New Issue