Next: Boolean input, Up: Input modes [Contents][Index]
pref>par min-max:i b
|
command prefix
name of the parameter
minimum acceptable value
maximum acceptable value. ‘>’ for INT_MAX
(largest
representable integer);
current value. Its always kept between min and max inclusive.
auxiliary boolean parameter. Its meaning is command dependent. ‘-’ means disabled and any other capital letter (which often suggests the meaning) is enabled. It may not be used in which case nothing is shown in this field.
KEYS
|
decrement i
increment i
enter decimal value directly
delete least significant decimal digit
negates i
toggle auxiliary boolean parameter. Only effective if the auxiliary boolean parameter is used and is not read-only.
confirm and return
return
This is the canonical input mode for setting integer parameters. It processes user input in such a way that it’s impossible to enter an integer outside the expected range. The integer may be inputted directly, useful in cases the user want to input a value significantly far from the current one and doesn’t care about any visual feedback for values in between, or may otherwise be incremented or decremented one by one.
If present, an auxiliary boolean parameter somehow associated with the integer parameter may be set as well. In some cases toggling it, effectively changes the acceptable range for the integer parameter.