eclipse - Java - Scanner Class Cursor not moving to last printed line -



eclipse - Java - Scanner Class Cursor not moving to last printed line -

mainly visual , user-friendliness issue, still prepare it. code here user prompt , waiting entered string:

system.out.print("enter word or phrase: "); phrase = input.nextline();

the functionality works fine , whenever start typing, , cursor moves after ":" symbol, i'm confused why cursor doesn't automatically move there every time loop repeats.

java eclipse input printing cursor

Comments

Popular posts from this blog

javascript - I need to update the text of a paragraph by inline edit -

javascript - THREE.js reposition vertices for RingGeometry -

assembly - What is the addressing mode for ld, add, and rjmp instructions? -