-
Notifications
You must be signed in to change notification settings - Fork 1
Bug fix & Improve #47
base: main
Are you sure you want to change the base?
Conversation
|
I'll work on it sometime tomorrow, please don't touch it in the meantime so I can figure out how to do some of these :). |
LOL during this period, I will work on my new project: TranslucentTB (Yes a python version TranslucentTB) |
|
LOL, its almost a week, do you find out something wrong? @Moosems |
|
LOL, my life has been so freaking crazy 🤣. I had so many plans for this summer and a grand total of 0 are completed. |
Add E402 for `ruff check .` (Really hate it)
|
I'll give it a shot sometime soon. |
Okay |
|
After I test #22, it doesn't freeze after input a bunch. (On Windows) |
|
LOL, @Moosems are you still on the car? |
|
Been traveling all month :). Two more weeks. |
Sounds great! |
|
How's that other project of yours going? |
Which project? “CustomTkinterTitlebar” or “Translucenttb”? |
|
The newest one :). |
@Moosems You mean 250234306-a2d0b4cc-0698-46c0-b050-e3d89c788964.mp4(LOL, just for fun) |
|
@Moosems I find out that why the program freeze. |
|
Use an event_generate for "threads" as tkinter isn't thread safe. |
Can you give an example to show how to use |
|
It seems that tkinter is thread safe now...? (In the new version) |
from tkinter import Tk, Button
root = Tk()
def threaded(_) -> None:
print("Running in tandem with the main process")
root.bind("<<Thread>>", threaded)
Button(root, text="Thread", command=lambda: root.event_generate("<<Thread>>"))
root.mainloop() |
Read through it, it's not ;). "all Tkinter access must be from the main thread (or more precisely, |
|
Biscuit does it anyway though :). |
|
I actually looked at this document as well, and I was thinking what is superfluous with ours |
|
I might just "copy" parts ;). |
|
Bruh, It seems that I almost forget there is a pr. |






@Moosems This pr is yours now~ I am buckle up :D choose some issues you'd like to fix. (Maybe I will also fix some)
Todo list:
fix #43 fix #35 fix #36 fix #19 fix #27 fix #48 fix #49
Improve
Bugfix
\to make newlines doesn't work #19self.indexbroken #49clearterminal doesn't get output #52Test
\to make newlines doesn't work #19