Skip to content

Commit

Permalink
add stuff to handle prompts
Browse files Browse the repository at this point in the history
  • Loading branch information
lordmortis committed Jan 30, 2024
1 parent 24aa0cb commit 7054a93
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ssh-askpass
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ on run argv
display dialog args with icon agent default button {get localized string of "OK"} default answer ""
end if
return result's text returned
else if args contains "host" then
display dialog args with icon agent buttons {"No", "Yes"}
return result's text
else
display dialog args with icon agent default button 1 giving up after dialog_timeout
if gave up of result then
Expand Down

0 comments on commit 7054a93

Please sign in to comment.