indiv-screenlets-dev team mailing list archive
-
indiv-screenlets-dev team
-
Mailing list archive
-
Message #00063
[Bug 734657] Re: OutputScreenlet capping output.
I think the correct way would be to cut output not by characters but by
using get_text_height function or at least by count of lines in text
according to the height of the display area. It's nothing complicated
really, just something that needs to be done. Anybody want to fix that?
--
You received this bug notification because you are a member of
Individual Screenlets Developers, which is subscribed to Individual
Screenlets.
https://bugs.launchpad.net/bugs/734657
Title:
OutputScreenlet capping output.
Status in Screenlets — individual widgets development:
Confirmed
Bug description:
OutputScreenlet keeps tossing away parts of what it is supposed to
display.
I have it show 'sensors -A | tail -12' which should produce:
coretemp-isa-0000
Core 0: +47.0°C (high = +82.0°C, crit = +100.0°C)
coretemp-isa-0001
Core 1: +49.0°C (high = +82.0°C, crit = +100.0°C)
coretemp-isa-0002
Core 2: +44.0°C (high = +82.0°C, crit = +100.0°C)
coretemp-isa-0003
Core 3: +46.0°C (high = +82.0°C, crit = +100.0°C)
But instead it skips the first characters, with the following output as a result:
ore 0: +47.0°C (high = +82.0°C, crit = +100.0°C)
coretemp-isa-0001
Core 1: +49.0°C (high = +82.0°C, crit = +100.0°C)
coretemp-isa-0002
Core 2: +44.0°C (high = +82.0°C, crit = +100.0°C)
coretemp-isa-0003
Core 3: +46.0°C (high = +82.0°C, crit = +100.0°C)