hi all,
there knows how parse terminal escape sequence codes in string write textview?
i'm having data that's full of:
code:
[?7l[h[2j[?25l[1;1h[37m[40m [2;1h [3;1h [4;1h [5;1h [6;1h [7;1h [8;1h [9;1h [10;1h [11;1h [12;1h [13;1h [14;1h [15;1h [16;1h [17;1h [18;1h [19;1h [20;1h [21;1h [22;1h [23;1h [?12l[?25h[1;1h
i can't strip all, asume [1;1h [1000;1h line feeds...
please help!
assuming line feeds suggests don't know input. find documentation , understand come , explain others can grasp source , format. right taking blind shot recognize it.
lines remind me of vt terminal control codes. non-compatible uitextview.
Forums Macs Mac Programming
- iPhone
- Mac OS & System Software
- iPad
- Apple Watch
- Notebooks
- iTunes
- Apple ID
- iCloud
- Desktop Computers
- Apple Music
- Professional Applications
- iPod
- iWork
- Apple TV
- iLife
- Wireless
Comments
Post a Comment