Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Req: Add key to change color without changing drawn character: #7

Open
clort81 opened this issue Jan 8, 2020 · 0 comments
Open

Comments

@clort81
Copy link

clort81 commented Jan 8, 2020

I have many colors to change but dont want to change pen to match underlying character every time.
A simple addition would allow writing color values without changing text?

But this doesn't work.
Any help?

    # Clort change color
    if ($key eq 'w') {
        &writecol;
        return 1;
    }

...
sub writecol { # Clort changes color to current color, we hope
    $charmap->[$pos[0]][$pos[1]] = [@charmode];
    # dont actually printit print &printchar(@charmode);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant