This repository has been archived by the owner on Sep 20, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 32
bug with del touch (EOL overright) #17
Labels
Comments
Hello :-), Can you give us a MWE (Minimal Working Example)? |
set background color on all screen, set cursor on top and ask readline. have to make some ansi string, will do it tonight |
This is not a bug from |
lib to make a window : https://github.com/Esysteme/glial/blob/master/Glial/Cli/Window.php code to make it : (work with composer) <?php
new \Glial\Cli\Window('Title', "line1\nline2\n[[INPUT]]");
?> not the last one but enough to understand, all char of screen are set with \Glial\Cli\Color and after I just move cursor to set at the right place |
Now we can address this bug :-). |
Hywan
added a commit
to Hywan/Console
that referenced
this issue
Jul 27, 2015
When a character is not printable, the readline did still print it. In some cases, it could create weird bug (see [1] or [2]). Since we have the `Hoa\Ustring::isCharPrintable`, we can check whether a character is printable or not. Consequently, here is the new logic: * We read a character, * The buffer receives this character, * If there is no mapping for this character and if it is not printable, then we do not print it. We do nothing with it. So, if we would like to support a control character that is not printable, we must associate a mapping to this character (like we do for `Ctrl-A` for instance). [1]: hoaproject#16 [2]: hoaproject#17
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
We send some text, and after push del, all char on the right of cursor are overight with the current background.
The text was updated successfully, but these errors were encountered: