Skip to content

Line Splitting #103

@LSLeary

Description

@LSLeary

I've noticed that when I send overlong lines, they show up in (non-native) logs as having been split into two. I presume this is something glirc is doing in the background due to IRC line length limits, and it's then hiding the split in the display and the native logs. That's fair, but I'm not satisfied with the current behaviour: it shouldn't be splitting in the middle of a word.

Proposed solutions:

  1. Split on the last space instead.
  2. Represent the split in the edit box as, say, | or $^, so the lines can be adjusted around it.
  3. Just stop taking input, forcing the second line to actually be written in a second line.
  4. Soften 3 by continuing to accept input, instead highlighting the post-limit text in red.

I believe the second option is the best. The first doesn't offer much control to the user, and could still split in places they don't want it to. The third and fourth do, but force an awkward UX since you have to navigate through the history and send the lines manually. There's too much potential to accidentally duplicate, omit or reorder lines.

Version: glirc-2.39.0.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions