Re: console display commands

new topic     » goto parent     » topic index » view thread      » older message » newer message
DerekParnell said...
katsmeow said...


Two short questions:

How do i underline a char in a text i puts() to the screen? And then un-underline it?
How do i get rid of the default console cursor?

Kat

Kat, I've written the library I talked about, but now that I'm sitting back looking at it, I realize that I'm no longer sure what it is you were actually trying to achieve.

Why do you want to underline a char, and why then later remove the underline?

Why do you want to get rid of the default console cursor?

I want to get rid of the stock cursor for three reasons: using position() to put it where i want it does not always put it there, reprinting the line does always put it at the end of the line, and if i can de/underline a character then i can use that instead of the stock cursor. I want to de/underline chars to use as my cursor, which i can embed in the string i puts(), which has the benefit of not needing to keep track of what the screen x,y coordinates of the cursor are vs the string linear position.

It's all mostly because i can write something that works in dos and not in windoze or nix. That said, my desire to keep using OE is dropping daily.

Kat

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu