Created
October 15, 2013 16:25
-
-
Save danivicario/6994347 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ExampleCommand(sublime_plugin.TextCommand): | |
def run(self, edit): | |
self.view.window().show_input_panel("Say something:", 'something', self.on_done, None, None) | |
def on_done(self, user_input): | |
sublime.status_message("User said: " + user_input) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment