diff --git a/src/winio.c b/src/winio.c index 5ca7a8d9..c02b5c12 100644 --- a/src/winio.c +++ b/src/winio.c @@ -658,7 +658,8 @@ int parse_kbinput(WINDOW *win) #ifndef NANO_TINY /* When is pressed while the mark is on, do an indent. */ - if (retval == TAB_CODE && openfile->mark && currmenu == MMAIN) + if (retval == TAB_CODE && openfile->mark && currmenu == MMAIN && + openfile-> mark != openfile->current) return INDENT_KEY; #endif