Clear input prompts after
This commit is contained in:
parent
731c558a3f
commit
f0db407f4d
1 changed files with 2 additions and 0 deletions
2
main.cpp
2
main.cpp
|
@ -382,6 +382,7 @@ int main(int argc, char* argv[]) {
|
||||||
break;
|
break;
|
||||||
case 'f':
|
case 'f':
|
||||||
last_find = get_string("to find");
|
last_find = get_string("to find");
|
||||||
|
print_line(file_offset + cur.r);
|
||||||
case 'n':
|
case 'n':
|
||||||
{
|
{
|
||||||
auto result = find(last_find);
|
auto result = find(last_find);
|
||||||
|
@ -396,6 +397,7 @@ int main(int argc, char* argv[]) {
|
||||||
case 's':
|
case 's':
|
||||||
last_find = get_string("to find");
|
last_find = get_string("to find");
|
||||||
last_replace = get_string("to replace");
|
last_replace = get_string("to replace");
|
||||||
|
print_line(file_offset + cur.r);
|
||||||
case 'r':
|
case 'r':
|
||||||
{
|
{
|
||||||
auto result = find(last_find);
|
auto result = find(last_find);
|
||||||
|
|
Loading…
Reference in a new issue