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:
Johannes Altmanninger 2022-07-26 08:49:57 +02:00
parent 671ad1f4a6
commit 3d8f643a5e

View File

@ -4263,7 +4263,6 @@ maybe_t<wcstring> reader_data_t::readline(int nchars_or_0) {
// End paging upon inserting into the normal command line.
if (el == &command_line) {
pager.clear();
command_line_has_transient_edit = false;
}
} else {
// This can happen if the user presses a control char we don't recognize. No