hoaproject / Console

The Hoa\Console library.

Home Page:https://hoa-project.net/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bug with del touch (EOL overright)

Esysteme opened this issue · comments

We send some text, and after push del, all char on the right of cursor are overight with the current background.

screenshot009

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 Hoa\Console\Readline. It depends a lot of how you “fill” the background. Can you show me your code please?

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 :-).