#8340 closed patch
Various Console fixes
Reported by: | wjp | Owned by: | eriktorbjorn |
---|---|---|---|
Priority: | normal | Component: | --Other-- |
Version: | Keywords: | ||
Cc: | Game: |
Description
The attached patch should fix most of the problems that occur when the Console buffer overflows and wraps back to the start and some related issues:
* new lines are now cleared * scrollbar now works correctly after a wraparound * home/end now move the cursor to the start/end of the current prompt * shift+home/end move the window to the top/bottom * shift+pageup/pagedown move the window up/down a page
I renamed the function updateScrollBar to updateScrollBuffer because it now also updated some state not directly related to the scrollbar.
Ticket imported from: #956989. Ticket imported from: patches/445.
Attachments (1)
Change History (10)
comment:1 by , 21 years ago
comment:2 by , 21 years ago
Owner: | set to |
---|
comment:3 by , 21 years ago
Owner: | removed |
---|
comment:4 by , 21 years ago
Owner: | set to |
---|
comment:5 by , 21 years ago
I only glanced over the code, it appears OK. But I haven't tested it. Still I trust wjp to only produce high quality patches 8-). Erik, feel free to try out if this fixes your issues (at least partially), and if it does work fine for you, apply it yourself -- don't see why I should act as a proxy in this matter ;-)
comment:6 by , 21 years ago
Minor update: in the constructor printf() was used before all variables were initialized & some cleanup.
comment:8 by , 21 years ago
Status: | new → closed |
---|
comment:9 by , 6 years ago
Component: | → --Other-- |
---|
This should fix bugs #941811 and #941814.