mordant icon indicating copy to clipboard operation
mordant copied to clipboard

fix: account for null password.

Open RafeArnold opened this issue 9 months ago • 1 comments

to reproduce the bug, run the following command from the terminal, then enter Ctrl+D (EOF):

import com.github.ajalt.mordant.terminal.Terminal

fun main() {
  Terminal().readLineOrNull(true)
}

RafeArnold avatar May 15 '25 09:05 RafeArnold

i'm not sure if there's an easy way to test this fix. if there is, please let me know and i'll have a go

RafeArnold avatar May 15 '25 09:05 RafeArnold

Thank you!

ajalt avatar Aug 10 '25 15:08 ajalt