littlewhitecloud / TkTerminal

A terminal emulator widget written in Python using tkinter
MIT License
15 stars 2 forks source link

Making a bunch of lines to get the y scrollbar and then inserting a ton to get the left scrollbar freezes the app #22

Open Moosems opened 1 year ago

littlewhitecloud commented 1 year ago

Can you give a screenshot? I tested it but it still working

Moosems commented 1 year ago

Yes, I can.

Moosems commented 1 year ago

https://github.com/littlewhitecloud/TkTerminal/assets/95927277/e48dc503-1b5c-49e0-9577-94f57273ba8e

Only when the wrap is "none". You can't see it on the screen recording but I get the circle of death and its completely frozen.

littlewhitecloud commented 1 year ago

So it only happened when warp = “none”?

Moosems commented 1 year ago

Yea. Wrap=none.

littlewhitecloud commented 1 year ago

Fine, I think we had fixed it so I will close it...

Moosems commented 1 year ago

You should be able to use wrap=None to be honest so I want to look into this further.

littlewhitecloud commented 1 year ago

I think it is about python’s speed.

Moosems commented 1 year ago

I don't think so. Doesn't happen elsewhere. Either an issue with the scroll bars or with the key press bind.

littlewhitecloud commented 1 year ago

Can you use the code in fix branch and set warp="none" to test it? I did some small changes.

littlewhitecloud commented 1 year ago

So, what's the result of using the latest code to test it?

Moosems commented 1 year ago

I'm actually editing on my phone right now and haven't been able to test it 😅.

littlewhitecloud commented 1 year ago

I'm actually editing on my phone right now and haven't been able to test it 😅.

Wow! I often edit the code on my ipad!

littlewhitecloud commented 1 year ago

image It didn't happen on my computer (Windows platform)

littlewhitecloud commented 1 year ago

I tried input a lot of but it didn't freeze

littlewhitecloud commented 1 year ago

maybe macos only?