mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-01 05:31:01 +08:00
Remove duplicate logic to clear the transient bit when inserting into commandline
This is already done by the above call to insert_char. No functional change.
This commit is contained in:
parent
671ad1f4a6
commit
3d8f643a5e
|
@ -4263,7 +4263,6 @@ maybe_t<wcstring> reader_data_t::readline(int nchars_or_0) {
|
||||||
// End paging upon inserting into the normal command line.
|
// End paging upon inserting into the normal command line.
|
||||||
if (el == &command_line) {
|
if (el == &command_line) {
|
||||||
pager.clear();
|
pager.clear();
|
||||||
command_line_has_transient_edit = false;
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// This can happen if the user presses a control char we don't recognize. No
|
// This can happen if the user presses a control char we don't recognize. No
|
||||||
|
|
Loading…
Reference in New Issue
Block a user