Yes an example would be good, thanks
g00r00,
The following code will cycle near 250 times before it actually displays anything on the screen in my Windows/32 Mystic A46 latest. If you change the delay time to something like 10 or even 5, it still counts ~250 loops before cycling. It may not be a keypressed issue only. It may be something in the delay command too. Not sure.
An alternate way to cause the keypressed issue, is to do something like "if keypressed().
[SNIP]
import mystic_bbs as bbs
KEY_ESCAPE = chr(27)
count = 0
while not bbs.shutdown():
while not bbs.keypressed():
bbs.writeln("|[X01|[Y01|08Count: |04%i" % count)
bbs.delay(100)
count+=1
char, extended = bbs.getkey()
if char == KEY_ESCAPE:
break
bbs.writeln("|15Exited|PA")
[SNIP]
|20|15┌─|16|08┤ |08De|07ad|15be|07a|08tz b|07b|15s
|08└─┘├─┐ |08:>.|07A|08rk |0710|08:|07101|08/|0714|08.
|04■ |08└|20|15─|16|08┘ |08:>.|10A|02gn |1046|08:|101|08/|10123|08.
|04A|07n|15al|07o|08g |08:>.|12F|04sx |1221|08:|122|08/|12123|08.
|04.|08dPR|04. |08:>.|15S|07ci |1577|08:|151|08/|15131|08. |04░▒░|08▒██▄▌|08:>.|11T|03qw |111337|08:|113|08/|1113|08.
--- Mystic BBS v1.12 A45 2020/02/09 (Linux/64)
* Origin: deadbeatz.org (21:2/123)