nelsam / vidar

vidar is a highly experimental Go editor, written in Go, using gxui
The Unlicense
50 stars 7 forks source link

Incorrect opening of file with space in path. #161

Closed Kvaz1r closed 5 years ago

Kvaz1r commented 5 years ago

Description

Incorrect opening of file with space in path.

Steps to reproduce

  1. vidar E:/Some folder/file.go E:/test.txt

Expected behavior

Two tabs with files.

Actual behavior

Three tabs with files(E:/Some folder/file.go are split).

nelsam commented 5 years ago

I believe that this is expected at the command line. Try quoting the folder with spaces in it: vidar E:/"Some folder"/file.go E:/test.txt

Kvaz1r commented 5 years ago

Yes quoting works, but notepad can handle path with space. Maybe because it can gets only one file for opening. With few it can be indeterminacy - is it local path or global path with space.