Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions extensions/dialog/internal.m
Original file line number Diff line number Diff line change
Expand Up @@ -679,10 +679,10 @@ static int blockAlert(lua_State *L) {
/// * `buttonOne` defaults to "OK" if no value is supplied.
/// * `buttonOne` will also be triggered by pressing `ENTER`, whereas `buttonTwo` will be triggered by pressing `ESC`.
/// * Examples:
/// `hs.dialog.textPrompt("Main message.", "Please enter something:")`
/// `hs.dialog.textPrompt("Main message.", "Please enter something:", "Default Value", "OK")`
/// `hs.dialog.textPrompt("Main message.", "Please enter something:", "Default Value", "OK", "Cancel")`
/// `hs.dialog.textPrompt("Main message.", "Please enter something:", "", "OK", "Cancel", true)`
/// * `hs.dialog.textPrompt("Main message.", "Please enter something:")`
/// * `hs.dialog.textPrompt("Main message.", "Please enter something:", "Default Value", "OK")`
/// * `hs.dialog.textPrompt("Main message.", "Please enter something:", "Default Value", "OK", "Cancel")`
/// * `hs.dialog.textPrompt("Main message.", "Please enter something:", "", "OK", "Cancel", true)`
static int textPrompt(lua_State *L) {
NSString* defaultButton = @"OK";

Expand Down
2 changes: 1 addition & 1 deletion scripts/docs/bin/build_docs.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/usr/bin/env python3
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This part is no longer needed, it was already handled by another PR.

# -*- coding: utf-8 -*-
"""Hammerspoon API Documentation Builder"""

Expand Down