Merge pull request #10 from vodik/settings
Add setting to configure shape.
This commit is contained in:
commit
9202f926f6
4
config.h
4
config.h
|
@ -39,8 +39,8 @@ static const char *colors[16] = {
|
||||||
"#ffffff", // bright white
|
"#ffffff", // bright white
|
||||||
};
|
};
|
||||||
|
|
||||||
// SYSTEM, ON or OFF
|
#define CURSOR_BLINK SYSTEM // SYSTEM, ON or OFF
|
||||||
#define CURSOR_BLINK SYSTEM
|
#define CURSOR_SHAPE BLOCK // BLOCK, UNDERLINE or IBEAM
|
||||||
|
|
||||||
static const bool resize_grip = false;
|
static const bool resize_grip = false;
|
||||||
|
|
||||||
|
|
|
@ -259,6 +259,7 @@ int main(int argc, char **argv) {
|
||||||
vte_terminal_set_audible_bell(VTE_TERMINAL(vte), audible_bell);
|
vte_terminal_set_audible_bell(VTE_TERMINAL(vte), audible_bell);
|
||||||
vte_terminal_set_visible_bell(VTE_TERMINAL(vte), visible_bell);
|
vte_terminal_set_visible_bell(VTE_TERMINAL(vte), visible_bell);
|
||||||
vte_terminal_set_mouse_autohide(VTE_TERMINAL(vte), mouse_autohide);
|
vte_terminal_set_mouse_autohide(VTE_TERMINAL(vte), mouse_autohide);
|
||||||
|
vte_terminal_set_cursor_shape(VTE_TERMINAL(vte), CONCAT2(VTE_CURSOR_SHAPE_, CURSOR_SHAPE));
|
||||||
vte_terminal_set_cursor_blink_mode(VTE_TERMINAL(vte), CONCAT2(VTE_CURSOR_BLINK_, CURSOR_BLINK));
|
vte_terminal_set_cursor_blink_mode(VTE_TERMINAL(vte), CONCAT2(VTE_CURSOR_BLINK_, CURSOR_BLINK));
|
||||||
gtk_window_set_has_resize_grip(GTK_WINDOW(window), resize_grip);
|
gtk_window_set_has_resize_grip(GTK_WINDOW(window), resize_grip);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue