Giter VIP home page Giter VIP logo

Comments (6)

fdschmidt93 avatar fdschmidt93 commented on May 26, 2024 1

So I've been cleaning up my dots a bit and also finally got around to installing nvim-notify and playing with that a bit.

I'll probably take over #72 eventually with my own PR (though borrowing some ideas :), from what I can tell there's two-three options here:

  • swapping vim.notify with nvim-notify
  • increasing cmdheight intermittently (a bit messy)
  • Put messages into 1 line (as will my refactor) and then vim.cmd [[ redraw! ]] seems to work such that the 1 line solely remains in cmdline

As I understand it, hit-enter prompt is essentially triggering the redraw as it's otherwise not clear for (n)vim how to handle intermediate excess cmdheight.

from telescope-file-browser.nvim.

fdschmidt93 avatar fdschmidt93 commented on May 26, 2024

Yeah, I've realized that commandline interaction & printing is not perfect. I'd hope that this would be resolved by switching towards notifications?

#72

I have to setup notifications and take a look at that PR.

from telescope-file-browser.nvim.

kkharji avatar kkharji commented on May 26, 2024

I guess it would be a by product of #72.

from telescope-file-browser.nvim.

jamestrew avatar jamestrew commented on May 26, 2024

Unfortunately #72 doesn't solve this Press ENTER or type command to continue issue.

I'll look into it a bit more within the next couple of days. All I know is that stacking too many multline vim.notify or print beyond the cmdheight is the culprit. I'm not super sure how to force clear what's in the command bar besides throwing a vim.api.nvim_command('norm :esc<CR>') between the vim.notifys which feels very janky and dumb.

from telescope-file-browser.nvim.

kkharji avatar kkharji commented on May 26, 2024

Hmmm maybe then no new lines? flat text

from telescope-file-browser.nvim.

fdschmidt93 avatar fdschmidt93 commented on May 26, 2024

This should hopefully be addressed now, so closing :)

Please let me know otherwise.

from telescope-file-browser.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.