Git Product home page Git Product logo

Comments (2)

akinsho avatar akinsho commented on May 20, 2024

Hi @LimbicSys, tbh I'm not sure entirely what to do here since this works on both linux and macos, or rather I haven't gotten any issues and I run it in both. I think the issue is more related to how specific terminal emulators handle drawing certain characters as your example show it works in vscode's terminal but not in the windows one.

I try to change the code to move the white space right before the filename to the position right after the icon

If you got a PR working for you can you raise it for me to have a look. The plugin keeps track of the size of buffer and it's content so changing the content might cause the size to be miscalculated, but it sounds like you've just reshuffled some spaces. Anyway if you PR what work's for you I'll test it to make sure nothing else breaks and if not will merge it.

from bufferline.nvim.

cooperuser avatar cooperuser commented on May 20, 2024

Yeah, this is an issue with Windows Terminal itself. I'm pretty sure it is because it draws the characters strictly from left to right, but do not quote me on that. There might be some hacky workarounds like using the non-breaking space character 0x00A0, but I'm not sure that would be applicable here. I was able to use a hack like that when mixing double-width characters and winblend.

from bufferline.nvim.

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.