nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit c35e351dd0f0b26a23ac3d91a672fa3dc5d62e51
parent 22ae034f2d656a40e649c6d2e0065b706c20bf9a
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Mon, 25 Jul 2005 20:08:18 +0000

fix mouse support breakage


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2930 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

Diffstat:
Msrc/nano.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/nano.c b/src/nano.c @@ -1743,9 +1743,9 @@ bool do_mouse(void) openfile->current->prev != NULL; openfile->current_y--) openfile->current = openfile->current->prev; - openfile->placewewant = xplustabs(); openfile->current_x = actual_x(openfile->current->data, - get_page_start(openfile->placewewant + mouse_x)); + get_page_start(xplustabs() + mouse_x)); + openfile->placewewant = xplustabs(); #ifndef NANO_SMALL /* Clicking where the cursor is toggles the mark, as does