Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to select nothing? #79

Open
polm opened this issue Jul 28, 2015 · 6 comments
Open

How to select nothing? #79

polm opened this issue Jul 28, 2015 · 6 comments

Comments

@polm
Copy link

polm commented Jul 28, 2015

Is there a standard way to select nothing in percol? I've been using ctrl+c so far but it prints an error and doesn't clean up the screen.

@mooz
Copy link
Owner

mooz commented Jul 28, 2015

ctrl+c is a standard way. It ends your percol session without any selection.

What kind of errors did you get?

@polm
Copy link
Author

polm commented Jul 28, 2015

This is the error I get:

Traceback (most recent call last):
  File "/usr/bin/percol", line 31, in <module>
    main()
  File "/usr/lib/python2.7/site-packages/percol/cli.py", line 284, in main
    exit_code = percol.loop()
  File "/usr/lib/python2.7/site-packages/percol/__init__.py", line 120, in __exit__
    curses.endwin()
_curses.error: endwin() returned ERR

I'm using 0.1.0 so I guess it's out of date, not sure if that should make a difference though.

@polm
Copy link
Author

polm commented Jul 28, 2015

Upgraded to the latest pip version and still getting the error. I'm using Arch Linux, Python2 version is 2.7.10. If there's anything else it'd help to know please tell me.

@polm
Copy link
Author

polm commented Aug 5, 2015

Any idea why I'm getting the errors? Am I doing something wrong?

@clach04
Copy link

clach04 commented Aug 28, 2024

This is also an issue with

### Calling percol from Python
when used as a library. It looks like a keymap issue (not had chance to play with that yet).

@clach04
Copy link

clach04 commented Aug 28, 2024

Looking at #56 looks like need to map to cancel()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants