Skip to content

Queued keys are not discarded when exiting F mode with ^X #757

@gwsw

Description

@gwsw

Steps to reproduce:

  1. Run less file.
  2. Type F.
  3. While "Waiting for data" is displayed, type g then ^C.
  4. Observe that the display remains as EOF as expected.
  5. Type F.
  6. While "Waiting for data" is displayed, type g then ^X.

Expected result:
Display should remain at EOF as it does when ^C is used.

Actual result:
Display jumps to beginning of file.

Tested on less-696.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions