Add word wrap for GUI text area

This commit is contained in:
ValdikSS 2017-05-08 00:10:01 +03:00
parent f44a89502b
commit 3089c375b6

View File

@ -988,7 +988,7 @@ if __name__ == "__main__":
root = tk.Tk()
root.title("BlockCheck")
root.protocol("WM_DELETE_WINDOW", tk_terminate)
text = ThreadSafeConsole(root)
text = ThreadSafeConsole(root, wrap=tk.WORD)
text.pack(expand=1, fill='both')
threading.Thread(target=main).start()
try: