Skip to content

colorize_lines.pl: formatting is incorrectly reset #457

@oakkitten

Description

@oakkitten

Script / WeeChat

  • Name of script: colorize_lines.pl
  • Script version: 3.9
  • WeeChat version: v2.9-37-gaac14f28d

This bug has been reported to the script author? Yes
Response or reason: No response

Bug summary

In rare conditions incorrect formatting appears if a color reset character is present

Steps to reproduce

  1. unload colorize_lines.pl
  2. type Ctrl+c, _ hello Ctrl+c, c hello Enter
  3. observe that the output is

    hellohello

  4. load colorize_lines.pl & type the same
  5. observe that the output is

    hellohello

Current behavior

output is underlined differently

Expected behavior

output is underlined the same way

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUnexpected problem or unintended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions