mirror of
https://github.com/davatorium/rofi.git
synced 2025-07-31 21:59:25 -04:00
Fix issue #281
if one entry as input and autoselect enabled return immediately
This commit is contained in:
parent
d4d7ed70c2
commit
99515f986e
2 changed files with 6 additions and 0 deletions
|
@ -5,6 +5,8 @@
|
||||||
- Blinking cursor.
|
- Blinking cursor.
|
||||||
- Config file.
|
- Config file.
|
||||||
- Add history to DRun mode. (#343)
|
- Add history to DRun mode. (#343)
|
||||||
|
Improvements:
|
||||||
|
- auto-select and single item on dmenu (#281)
|
||||||
Bug fixes:
|
Bug fixes:
|
||||||
- Fix subpixel rendering. (#303)
|
- Fix subpixel rendering. (#303)
|
||||||
- Fix basic tests on OpenBSD (#272)
|
- Fix basic tests on OpenBSD (#272)
|
||||||
|
|
|
@ -379,6 +379,10 @@ int dmenu_switcher_dialog ( void )
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if ( config.auto_select && cmd_list_length == 1 ) {
|
||||||
|
dmenu_output_formatted_line ( pd->format, cmd_list[0], 0, config.filter );
|
||||||
|
return TRUE;
|
||||||
|
}
|
||||||
if ( find_arg ( "-password" ) >= 0 ) {
|
if ( find_arg ( "-password" ) >= 0 ) {
|
||||||
menu_flags |= MENU_PASSWORD;
|
menu_flags |= MENU_PASSWORD;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue