Coder Social home page Coder Social logo

Comments (7)

bits01 avatar bits01 commented on September 26, 2024

The highlighting seems to be broken on Mac OS (iTerm2 or stock Terminal app), but it seems to at least work in Linux gnome-terminal. Looks like the platform support from the term lib matters too.

from boltbrowser.

br0xen avatar br0xen commented on September 26, 2024

When you experience it not scrolling/highlighting properly, is it always with databases that have keys/values that wrap in the left pane?

from boltbrowser.

bits01 avatar bits01 commented on September 26, 2024

So far yes. Keys can be pretty long too, not just values. It seems that the highlighting breaks when the key itself is long and it wraps. If the key doesn't wrap, but the value does wrap highlighting works.

from boltbrowser.

br0xen avatar br0xen commented on September 26, 2024

👍 That's what I figured. The current code assumes that a key-value pair in that left pane will only take up a single line on the screen.
I'm thinking that it should just abbreviate that line if it can't fit it all, the full information, then, would be displayed in the right pane (when you highlight it). Does that sound like a good solution to you?

from boltbrowser.

bits01 avatar bits01 commented on September 26, 2024

Perhaps one approach would be to just display the keys in the left pane but no values. Even the keys could be made to either fit by doing something like STARTLONG...KEYEND or wrapping the key. I suspect a user would be interested in certain keys and it would be fine to look at the value in the right pane only.
Of course, scrolling would still need to work in the left pane, for lots of keys.

from boltbrowser.

br0xen avatar br0xen commented on September 26, 2024

Just pushed a quick hotfix. Pull that down and see if it works for now.

from boltbrowser.

bits01 avatar bits01 commented on September 26, 2024

Very nice. Thank you!

from boltbrowser.

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.