H
H
hardwellZero2015-05-18 13:52:07
Python
hardwellZero, 2015-05-18 13:52:07

How to make a multiline text field?

Hello.
I have a small program written in Python + PyGame. Now I want to write the output of the command into the text field:
sudo iwlist wlan0 scan
I could not find an example with multi lines. How to implement?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2015-05-19
@Avernial

If you're displaying with a Message object, you can't display multi-line messages in it. From documentation:
You can try to create an object for each line. Or use the glyph library .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question