Clear input prompts after

This commit is contained in:
Matúš Púll 2025-04-22 08:39:55 +02:00
parent 731c558a3f
commit f0db407f4d

View file

@ -382,6 +382,7 @@ int main(int argc, char* argv[]) {
break;
case 'f':
last_find = get_string("to find");
print_line(file_offset + cur.r);
case 'n':
{
auto result = find(last_find);
@ -396,6 +397,7 @@ int main(int argc, char* argv[]) {
case 's':
last_find = get_string("to find");
last_replace = get_string("to replace");
print_line(file_offset + cur.r);
case 'r':
{
auto result = find(last_find);