mirror of
https://code.blicky.net/yorhel/ncdu.git
synced 2026-01-12 17:08:39 -09:00
Accessibility: move cursor to selected option on delete confirmation
This makes the selection usable for screen readers. Ncdu 1.x already correctly did this.
This commit is contained in:
parent
66b875eb00
commit
ac4d689e22
1 changed files with 5 additions and 0 deletions
|
|
@ -189,6 +189,11 @@ fn drawConfirm() void {
|
|||
box.move(4, 31);
|
||||
ui.style(if (confirm == .ignore) .sel else .default);
|
||||
ui.addstr("don't ask me again");
|
||||
box.move(4, switch (confirm) {
|
||||
.yes => 15,
|
||||
.no => 25,
|
||||
.ignore => 31
|
||||
});
|
||||
}
|
||||
|
||||
fn drawProgress() void {
|
||||
|
|
|
|||
Loading…
Reference in a new issue