!38 [sync] PR-37: Add shell command to switch bracketed-paste mode from on to off to keep consistent with realine-8.0
From: @openeuler-sync-bot Reviewed-by: @znzjugod Signed-off-by: @znzjugod
This commit is contained in:
commit
ef4a03453a
@ -1,6 +1,6 @@
|
||||
Name: readline
|
||||
Version: 8.2
|
||||
Release: 3
|
||||
Release: 4
|
||||
Summary: Readline library for editing typed command lines
|
||||
|
||||
License: GPLv3+
|
||||
@ -79,8 +79,15 @@ export CPPFLAGS="-I%{_includedir}/ncurses"
|
||||
%exclude %{_infodir}/dir*
|
||||
%{_mandir}/man3/*.3.gz
|
||||
|
||||
%posttrans
|
||||
if ! grep -q "enable-bracketed-paste" /etc/inputrc; then
|
||||
echo "set enable-bracketed-paste 0" >> /etc/inputrc
|
||||
fi
|
||||
|
||||
%changelog
|
||||
* Thu Jan 23 2025 shixuantong <shixuantong1@huawei.com> - 8.2-4
|
||||
- Add shell command to switch bracketed-paste mode from on to off to keep consistent with realine-8.0
|
||||
|
||||
* Wed Jan 8 2025 beta <beta@yfqm.date> - 8.2-3
|
||||
- backport patch to fix segmentation fault problem
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user