1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

Entry line works now properly with very long prompts

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1277 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-02-21 19:00:07 +00:00 committed by cras
parent 7103fc87b8
commit a04a1c6f21

View File

@ -40,7 +40,7 @@ static void entry_screenpos(void)
scrstart = 0;
scrpos = pos;
} else {
scrpos = COLS/3*2-promptlen;
scrpos = (COLS-promptlen)*2/3;
scrstart = pos-scrpos;
}
}