Sublime Forum

I can not continue

#1

Hi, all
whrite an code with input
I press crtl+b
write the name
I press Enter

how do I continue in this situation? thanks…

0 Likes

#2

Do you mean how do you capture the input? maybe try something like this.

class NameInputCommand(sublime_plugin.WindowCommand):
    def run(self):
        panel = self.window.show_input_panel(
                '', 'Your name: ',
                lambda text: self.on_done(text),
                None, None
            )

    def on_done(self, text):
        print(text)
0 Likes

#3
0 Likes

#4

This question was asked several times during the last few days…

0 Likes

#5

ok, solved thanks to all of you :thumbsup:

0 Likes