Message74148
| Author |
amaury.forgeotdarc |
| Recipients |
amaury.forgeotdarc, ocean-city |
| Date |
2008年10月01日.22:31:39 |
| SpamBayes Score |
9.553819e-10 |
| Marked as misclassified |
No |
| Message-id |
<1222900300.75.0.0972703697796.issue2382@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
This seems to be a difficult problem. Doesn't the exact width depend on
the terminal capabilities? and fonts, and combining diacritics...
An easy way to put the caret at the same exact position is to repeat the
beginning of the line up to the offending offset:
print "あいうえお"
print "あいうえお^<------------------
But I don't know how to make it look less ugly.
At least my "one unicode char is one space" suggestion corrects the case
of Western languages, and all messages with single-width characters. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2008年10月01日 22:31:40 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc, ocean-city |
| 2008年10月01日 22:31:40 | amaury.forgeotdarc | set | messageid: <1222900300.75.0.0972703697796.issue2382@psf.upfronthosting.co.za> |
| 2008年10月01日 22:31:39 | amaury.forgeotdarc | link | issue2382 messages |
| 2008年10月01日 22:31:39 | amaury.forgeotdarc | create |
|