mirror of
https://github.com/zyedidia/micro.git
synced 2026-02-04 14:10:23 +09:00
Make the buffer creation when (no file args, terminal stdin) explicitly distinct
. . . but functionally equivalent.
This commit is contained in:
@@ -243,7 +243,7 @@ func LoadInput(args []string) []*buffer.Buffer {
|
||||
buffers = append(buffers, buffer.NewBufferFromStringWithCommand(string(input), filename, btype, command))
|
||||
} else {
|
||||
// Option 3, just open an empty buffer
|
||||
buffers = append(buffers, buffer.NewBufferFromStringWithCommand(string(input), filename, btype, command))
|
||||
buffers = append(buffers, buffer.NewBufferFromStringWithCommand("", filename, btype, command))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user