If you need a double horizontal line character that takes the whole block, so that the line runs smoothly, the 0xCD ( ) pseudographic character can help.
It depends on the current code page, but most national code pages (including Cyrillic 866) leave the pseudographic characters intact.
Just print the line from 0xCD, see how it looks.
for(i=0;i<20;i++) putchar(0xcd);
source share