Skip to content

Commit

Permalink
[filter-ui] paste should go to readline
Browse files Browse the repository at this point in the history
  • Loading branch information
tstack committed Feb 12, 2025
1 parent 88abaa7 commit 4640885
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ jobs:
- name: make dist
run: >-
make dist dist-bzip2 &&
mv -n lnav-*.tar.gz lnav-${{ needs.create-release.outputs.lnav_version_number }}.tar.gz &&
mv -n lnav-*.tar.bz2 lnav-${{ needs.create-release.outputs.lnav_version_number }}.tar.bz2
(mv -n lnav-*.tar.gz lnav-${{ needs.create-release.outputs.lnav_version_number }}.tar.gz || true) &&
(mv -n lnav-*.tar.bz2 lnav-${{ needs.create-release.outputs.lnav_version_number }}.tar.bz2 || true)
- name: Upload tgz archive
uses: actions/[email protected]
env:
Expand Down
10 changes: 5 additions & 5 deletions src/lnav.cc
Original file line number Diff line number Diff line change
Expand Up @@ -721,13 +721,13 @@ handle_config_ui_key(notcurses* nc, const ncinput& ch, const char* keyseq)
return true;
}

if (ch.id == NCKEY_PASTE) {
handle_paste_content(nc, ch);
return true;
}

switch (lnav_data.ld_mode) {
case ln_mode_t::FILES:
if (ch.id == NCKEY_PASTE) {
handle_paste_content(nc, ch);
return true;
}

if (ch.eff_text[0] == NCKEY_GS
|| (ch.id == ']' && ncinput_ctrl_p(&ch)))
{
Expand Down

0 comments on commit 4640885

Please sign in to comment.