mirror of
https://github.com/KDE/konsole.git
synced 2026-06-12 16:05:45 -04:00
This seems to be the limit in all the test files I've been trying. Without this we get an issue with too many combining characters where Konsole will eventually just hang. REVIEW: 129874
16 lines
349 B
Python
16 lines
349 B
Python
#!/usr/bin/env python3
|
|
|
|
'''
|
|
Generates an endless amount of combining characters
|
|
'''
|
|
|
|
import random
|
|
import string
|
|
|
|
combs = list("\u0300\u0301\u0302\u0303\u0304\u0305\u0306\u0307\u0308\u0309\u030A\u030B\u030C\u030D\u030E\u030F")
|
|
|
|
while True:
|
|
random.shuffle(combs)
|
|
print(random.choice(string.ascii_letters)+"".join(combs), end="", flush=True)
|
|
|