Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Pasting or recalling a long line causes cursor to be placed on RHS of window #9

@dkcasset

Description

@dkcasset

If pasting or recalling this long line:

(defun quantize (num n &key (qfn #'round) (scale 1)) (multiple-value-bind (q r) (funcall qfn (rationalize num) (rationalize n)) (values (* scale q (rationalize n)) (* scale r))))

The 80-char wide terminal window shows the following:

$ icl --connect localhost:4005
icl 1.8.3-gf755c1a ("SBCL" "2.2.9.debian")
Type ,help for commands, ,quit to exit.

COMMON-LISP-USER> (defun quantize (num n &key (qfn #'round) (scale 1)) (multiple
-value-bind (q r) (funcall qfn (rationalize num) (rationalize n)) (values (* sca
le q (rationalize n)) (* scale r))))                                           ❚

The cursor appears on the far right on the last line, and line edits are problematic, e.g. C-a puts the cursor in the middle of the last line on the 'n'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions