← index #2692PR #10093
Related · high · value 0.689
QUERY · ISSUE

RFC modframebuf.c scrolling behaviour

openby peterhinchopened 2016-12-17updated 2024-09-29
enhancement

Currently framebuf_scroll does not clear the region of the display which is exposed by scrolling. While I appreciate that this behaviour is by design, I'd submit that it's seldom what is actually required.

An option would be good, perhaps via a colour arg:

  1. Behave as at present leaving exposed region unchanged.
  2. Fill with a colour.

Any thoughts, or reasons why the current behaviour has been chosen?

CANDIDATE · PULL REQUEST

extmod/modframebuf: Fixed a crash in FrameBuffer scrolling.

mergedby TPRealopened 2022-11-26updated 2022-12-09
extmod
  • tests/extmod/framebuf_scroll: Add tests for FrameBuffer scrolling.
  • extmod/modframebuf: Fixed a crash in FrameBuffer scrolling.

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied