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

Searching with internal less is broken #21772

Closed
dennis-doyensec opened this issue May 23, 2023 · 1 comment
Closed

Searching with internal less is broken #21772

dennis-doyensec opened this issue May 23, 2023 · 1 comment

Comments

@dennis-doyensec
Copy link
Contributor

Environment

# copypaste this script into your shell and replace it with the output
date
r2 -v
uname -ms
Tue May 23 18:37:41 EDT 2023
radare2 5.8.7 30441 @ darwin-arm-64
birth: git.5.8.6-86-gc2153e9a2a 2023-05-23__15:32:14
commit: c2153e9a2a4f7ce9de0184b95fbf9bde2dff2297
options: gpl -O2 cs:5 cl:2 make
Darwin arm64

Description

When using the internal less ~.. and searching for something, less will break. The first item will be found but then keypresses go to the screen and you can't quit.

Test

  1. Open anything in r2 r2 /bin/ls
  2. Run a command through the internal less. pd 200 ~..
  3. Search for something, hit / and type a string out followed by enter.
  4. Hit n to go to the next search item, the n key will show up on the page. As will all other key presses.
@radare
Copy link
Collaborator

radare commented May 24, 2023

oops. i can repro. let me fix it

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

2 participants