mirror of
https://github.com/walles/moar.git
synced 2024-09-11 12:15:43 +03:00
commit
242c050adf
2
moar.go
2
moar.go
@ -422,7 +422,7 @@ func main() {
|
||||
stdoutIsRedirected := !term.IsTerminal(int(os.Stdout.Fd()))
|
||||
var inputFilename *string
|
||||
if len(remainingArgs) == 1 {
|
||||
word := flagSet.Arg(0)
|
||||
word := remainingArgs[0]
|
||||
inputFilename = &word
|
||||
|
||||
// Need to check before twin.NewScreen() below, otherwise the screen
|
||||
|
Loading…
Reference in New Issue
Block a user