Issue #15944 has been reported by hasumikin (hitoshi hasumi).

----------------------------------------
Bug #15944: Simultaneous line feeding and scrolling doesn't work well with irb on tmux
https://bugs.ruby-lang.org/issues/15944

* Author: hasumikin (hitoshi hasumi)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: ruby 2.7.0dev (2019-06-17T21:05:43Z trunk 39a8c71424) [x86_64-linux]
* Backport: 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: UNKNOWN
----------------------------------------
See attached capture.

I just entered `1+1` repeatedly.
(`1+1` doesn't matter, whatever can cause the same behavior)

The problem is that the expression `1+1` will disappear when the window scrolls.

This is a bottom of the capture:

```
irb(main):041:0> 1+1
=> 2
=> 2
=> 2
irb(main):044:0>
```

It should have been like following:

```
irb(main):041:0> 1+1
=> 2
irb(main):042:0> 1+1
=> 2
irb(main):043:0> 1+1
=> 2
irb(main):044:0>
```

This behavior seems to appear only on tmux.

---Files--------------------------------
irb_on_tmux.png (170 KB)


-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>