ok here is my question.
On swr while coding you can put in something like this:
where %5s makes a spacing of 5 characters. now lets say a persons name is bobbie. it will add the 6th character space automaticly and throw off my ANSI picture i was trying to create... is there a way to cut off the input early so that it doesn't add the extra characters so it looks like this:
On swr while coding you can put in something like this:
ch_printf(ch, "|Name: %5s|&\n\r", ch->name,
where %5s makes a spacing of 5 characters. now lets say a persons name is bobbie. it will add the 6th character space automaticly and throw off my ANSI picture i was trying to create... is there a way to cut off the input early so that it doesn't add the extra characters so it looks like this:
+-----------+
|Name: bobbi|
+-----------+
instead of this:
+-----------+
|Name: bobbie|
+-----------+