Typewriter Echo Mode for my Xpander Project (a.k.a. 2nd OOP project)
So far I've been operating on the premise that my expandable text (that which is to be expanded by the Xpander module) is going to come in from a pre-existing file.
However, another use case is that where the user is inputting original text via the keyboard and expects to see his/her keystrokes immediately echoed on the console.
In that case, I will need to send each keystroke to two two different destinations: (1) first to the console and (2) secondly to my three parsing buffers (Buff_0, Buff_1 and Buff_2).
If an abbreviation expansion is triggered by the incoming text, I will have to erase part of the text on the console and replace it with its expanded counter part.
I don't remember if there is a clear-current-console-line escape code that will work on my computer's console. Time to go back and research the issue.
... TO BE CONTINUED
Prior post re key capture = Bouncing Backward Off the Sticky Problem Wall (August 22, 2025)
Prior post re clearing the screen (CLS) and/or the current line = not found in Blogger, maybe it's just in my code? So ... do another search ...
QAB-g ::: How to clear a line of, or full console screen via Python
^^^-- Master Python Clear Console [= NR free app tools here ]
^^^-- [= Fabio ] [<-- clear all] [<-- clear line ] [<-- Fabio Py vids] [all Fabio vids -->]
[^^ OOPs]
QAB-g ::: How to clear a line of, or full console screen via Python
^^^-- Master Python Clear Console [= NR free app tools here ]
^^^-- [= Fabio ] [<-- clear all] [<-- clear line ] [<-- Fabio Py vids] [all Fabio vids -->]
[^^ OOPs]
MORE TO EXPLORE


Comments
Post a Comment