disable accurate width by default

This commit is contained in:
speedie 2023-05-06 14:59:47 +02:00
parent d8b995bb0c
commit db8ed90ff8
3 changed files with 3 additions and 3 deletions

View file

@ -132,7 +132,7 @@ spmenu.menumarginh: 0
spmenu.xpos: 0 spmenu.xpos: 0
spmenu.ypos: 0 spmenu.ypos: 0
spmenu.minwidth: 1000 spmenu.minwidth: 1000
spmenu.accuratewidth: 1 spmenu.accuratewidth: 0
spmenu.borderwidth: 0 spmenu.borderwidth: 0
!! Properties !! Properties

View file

@ -158,7 +158,7 @@ spmenu = {
casesensitive = 0; // Enable case sensitivity when matching (0/1) casesensitive = 0; // Enable case sensitivity when matching (0/1)
fuzzy = 1; // Enable fuzzy finding (0/1) fuzzy = 1; // Enable fuzzy finding (0/1)
preselected = 0; // Preselect an item, 0 is the first item (number) preselected = 0; // Preselect an item, 0 is the first item (number)
accuratewidth = 1; // Enable accurate width, could be noticeably slower in some cases (0/1) accuratewidth = 0; // Enable accurate width, could be noticeably slower in some cases (0/1)
delimiters = " "; // Word delimiter, used to delete words (text) delimiters = " "; // Word delimiter, used to delete words (text)
} ); } );

View file

@ -77,7 +77,7 @@ static int passwd = 0; /* Replace input with another charac
static int sortmatches = 1; /* Sort matches (0/1) */ static int sortmatches = 1; /* Sort matches (0/1) */
static int casesensitive = 0; /* Case-sensitive by default? (0/1) */ static int casesensitive = 0; /* Case-sensitive by default? (0/1) */
static int preselected = 0; /* Which line should spmenu preselect? */ static int preselected = 0; /* Which line should spmenu preselect? */
static int accuratewidth = 1; /* Enable accurate width. May have a performance hit if you are matching a lot of items at once */ static int accuratewidth = 0; /* Enable accurate width. May have a performance hit if you are matching a lot of items at once */
static int fuzzy = 1; /* Whether or not to enable fuzzy matching by default */ static int fuzzy = 1; /* Whether or not to enable fuzzy matching by default */
/* Line options */ /* Line options */