Code Monkey home page Code Monkey logo

Comments (9)

mrichar1 avatar mrichar1 commented on August 21, 2024

Hi,

Thanks for this report.

I'm trying to replicate what you're describing, but I'm not sure what you mean by 'text overlaid on one line.'

My test seems to work as expected:

>$ echo -e "cat\ndog\nfish\n\n" | clipster
(server:) DEBUG:[u'cat\ndog\nfish\n\n']

 $ clipster -o -n 0 -0 | rofi -i -dmenu -sep '\x00' -eh 2 -p paste: | sed -ze 's/\n$//'
<*select only item in rofi*>
cat
dog
fish

>$

Can you give me an example of the expected versus actual output you're seeing? Thanks!

from clipster.

magnetophon avatar magnetophon commented on August 21, 2024

Did you see the screenshot?

from clipster.

magnetophon avatar magnetophon commented on August 21, 2024

I just tried with 1.2.3, and that works fine too.

from clipster.

mrichar1 avatar mrichar1 commented on August 21, 2024

Hi - thanks for the screenshot and updates.

Turns out that in fixing a python 2 unicode bug in 1.2.4 I'd introduced a new one for python 3. py2 needs stringscontaining unicode explicitly encoding, but calling encode() on python3 strings converts them to bytes, which rofi doesn't cope with.

I've hopefully fixed this in ed205c6 - can you try 1.2.5 and let me know if you are still having issues. Thanks!

from clipster.

magnetophon avatar magnetophon commented on August 21, 2024

All good now!
Thank you!

from clipster.

fourstepper avatar fourstepper commented on August 21, 2024

@magnetophon Hi, how do you use the above? I tried to use your option in i3wm with rofi, got the menu up and running when I select one of the options it seems that nothing happens. clipster daemon is up and running

from clipster.

magnetophon avatar magnetophon commented on August 21, 2024

At the moment I'm using clipster trough fzf, for even better search capabilities and a nice preview window: https://github.com/magnetophon/.dot/blob/master/common/.local/bin/clipster_fzf.sh

from clipster.

fourstepper avatar fourstepper commented on August 21, 2024

Sorry for the ignorance, but how do I copy the output of the fuzzy find to my primary clipboard?

from clipster.

magnetophon avatar magnetophon commented on August 21, 2024

I think that's this line: https://github.com/magnetophon/.dot/blob/master/common/.config/clipster/clipster.ini#L13

from clipster.

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.