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…
I can not continue
pypy
#1
0 Likes
devcarlos
#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