Skip to content

Commit

Permalink
Merge pull request #39 from atf1206/master
Browse files Browse the repository at this point in the history
Change panel.insert to panel.run_command in q_out_panel
  • Loading branch information
komsit37 authored Nov 24, 2023
2 parents c4f98f6 + 9790819 commit 236b80c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion q_out_panel.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ def do(self, edit, input=None):
panel.settings().set("word_wrap", False)

panel.set_read_only(False)
panel.insert(edit, panel.size(), input)
# panel.insert(edit, panel.size(), input)
panel.run_command("append", {"characters": input})
panel.set_read_only(True)
self.view.window().run_command("show_panel", {"panel": "output.q"})
return '' #return something so that the chain will continue
Expand Down

0 comments on commit 236b80c

Please sign in to comment.