Skip to content

termux-notification - multiline doesn't work #274

Open
termux/termux-api-package
#73
@ourarash

Description

@ourarash

Problem description
Termux notifications cuts the line and doesn't show strings that don't fit in a line. Using \n or piping to stdin as recommended here doesn't work either. In fact it looks like the piped value is ignored.

Steps to reproduce

ls $PREFIX | termux-notification --title 'Some folders'

Expected behavior
Wrap the strings that don't fit in a single line.

Additional information
Non-rooted device. Galaxy Note 8.

$ termux-info                                                 Updatable packages:
All packages up to date
Subscribed repositories:
https://dl.bintray.com/grimler/science-packages-21 science/stable
https://dl.bintray.com/grimler/game-packages-21 games/stable
https://termux.net stable/main
https://termux.net stable/main
System information:
Linux localhost 4.9.112-15119493 #2 SMP PREEMPT Thu May 30 19:02:31 KST 2019 aarch64 Android
Termux-packages arch:
aarch64
Android version:
9
Device manufacturer:
samsung
Device model:
SM-N960

The below image shows the of the above command results on my device.

image

image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions