[SERVER-4705] Don't cache getScreenColumns() Created: 17/Jan/12 Updated: 17/Feb/17 Resolved: 17/Feb/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Shell |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Mathias Stearn | Assignee: | DO NOT USE - Backlog - Platform Team |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Participants: |
| Description |
|
It should probably be called either on every key press or in refreshLine. Otherwise it isn't updated when you resize the window. |
| Comments |
| Comment by Mira Carey [ 17/Feb/17 ] |
|
We consider the current behavior of the shell on terminal resize as acceptable and don't plan on enhancing it at this time. |
| Comment by Tad Marshall [ 17/Jan/12 ] |
|
It's currently refreshed on each new prompt. |