You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
looking at the options for gum choose, I do not see a way to position the cursor on a specific row (i.e., vertical position), only --cursor.alignment (which appears to be L, R, C)
what do you want?
can i put the cursor in the middle of the list that gum choose generates?
the output without gum is based on tput lines, the currently-playing song will be in the middle, i.e. (tput lines ÷ 2), and i can look up and down the list as i like. gum is intended to allow me to chose from that list, but i want to start in the middle, not at the top.
i found --output.MoveCursor(y, x) somewhere and that sees like an idea of what would work... so e.g., if this put the cursor in the middle of the list with --cursor.MoveCursor(y, x)
(NB: mpc and grep are aliased in ~/.bash_aliases so commands copied from the cli may be prefixed with '')
The text was updated successfully, but these errors were encountered:
iconoclasthero
changed the title
gum choose: set initial vertical position (--output.MoveCursor(y, x))
gum choose: set initial vertical position (--cursor.MoveCursor(y, x))
Mar 3, 2024
Is your feature request related to a problem? Please describe.
looking at the options for gum choose, I do not see a way to position the cursor on a specific row (i.e., vertical position), only
--cursor.alignment
(which appears to be L, R, C)what do you want?
can i put the cursor in the middle of the list that gum choose generates?
the output without gum is based on tput lines, the currently-playing song will be in the middle, i.e. (tput lines ÷ 2), and i can look up and down the list as i like. gum is intended to allow me to chose from that list, but i want to start in the middle, not at the top.
i found --output.MoveCursor(y, x) somewhere and that sees like an idea of what would work... so e.g., if this put the cursor in the middle of the list with --cursor.MoveCursor(y, x)
(NB: mpc and grep are aliased in ~/.bash_aliases so commands copied from the cli may be prefixed with '')
The text was updated successfully, but these errors were encountered: