octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #37401] Multi-line command recall is weird in


From: Rik
Subject: [Octave-bug-tracker] [bug #37401] Multi-line command recall is weird in GUI editor; non-GUI is OK.
Date: Thu, 11 Apr 2013 14:01:04 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0

Follow-up Comment #9, bug #37401 (project octave):

I'm not a big GUI coder, but I think we're in the right place.

I noticed that there seem to be two wraps going on.  One is provided by the Qt
window and the second is provided, maybe, by the terminal.

If I shrink the terminal window to something less than 80 characters and then
press and hold a key I get the following behavior:

1) The characters up to the window width are entered correctly
2) When the cursor hits the right window edge, it is correctly
moved to the next line and more characters are entered.
3) When the total number of characters reaches 80 the cursor is re-positioned
to the start of the line without a linefeed.

All of that is easy to see if you make your terminal window small (say 30
characters).

Conversely, If I make the window very large I never see the Qt window wrap. 
Instead I only get the terminal wrap at 80 characters which means the current
line is always overwritten.

So, it looks like we do need to do what you suggest and connect the resize
notification from Qt to set the Terminal's size.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?37401>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]