Giter Club home page Giter Club logo

Comments (2)

trygveaa avatar trygveaa commented on June 14, 2024

no way to use a script or trigger to reformat it in a way that distinguishes it from the surrounding text.

It's possible to handle this in a script/trigger by using the irc_in2_privmsg modifier to change \x11 to something else.

I do agree with you that WeeChat should probably not just strip it though. but not sure if just treating it as unhandled (like strikethrough) is the best way. After all, all text in WeeChat is monospace, so it's in a sense handled. But I do see that it would be useful to be able to distinguish between normal text and text marked as monospace. Maybe WeeChat should add an internal code for monospace text and have an option to determine how it should be represented?

from weechat.

ToxicFrog avatar ToxicFrog commented on June 14, 2024

That would be even better! The project that engendered this bug was writing a script to bracket monospace text with ` and colour it light blue, since I chat with a lot of people using clients that do support monospace and it's often used in load-bearing ways in these conversations, but if becomes a weechat builtin the need for that script goes away.

Also, thanks for the pointer to irc_in2_privmsg, I can use that as a workaround in the meantime.

from weechat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.