Add setting to configure shape.
This commit is contained in:
parent
2e8c5d3592
commit
17f23074ca
4
config.h
4
config.h
|
@ -39,8 +39,8 @@ static const char *colors[16] = {
|
|||
"#ffffff", // bright white
|
||||
};
|
||||
|
||||
// SYSTEM, ON or OFF
|
||||
#define CURSOR_BLINK SYSTEM
|
||||
#define CURSOR_BLINK SYSTEM // SYSTEM, ON or OFF
|
||||
#define CURSOR_SHAPE BLOCK // BLOCK, UNDERLINE or IBEAM
|
||||
|
||||
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_visible_bell(VTE_TERMINAL(vte), visible_bell);
|
||||
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));
|
||||
gtk_window_set_has_resize_grip(GTK_WINDOW(window), resize_grip);
|
||||
|
||||
|
|
Loading…
Reference in New Issue