Skip to content

TerminalView shifted down on Android/iOS due to MediaQuery padding #212

Description

@jamiewest

padding: MediaQuery.of(context).padding,

  • TerminalView sets padding: MediaQuery.of(context).padding (lib/src/terminal_view.dart ~line 230), injecting safe-area insets even when not desired.
  • On Android/iOS this pushes terminal content down/right (logs start below a blank strip); macOS is unaffected because padding is zero.
  • Expected: terminal content should start at the widget’s top-left unless callers opt into safe-area handling.
  • Proposed fix: default to caller-controlled padding (e.g., widget.padding ?? EdgeInsets.zero) and let consumers wrap with SafeArea/MediaQuery.removePadding when needed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions