Studies going as far back as the 80s show that people in submarines develop myopia:
http://www.ncbi.nlm.nih.gov/pubmed/7457562
The leading theory is that being in a confined space causes the eye to adapt to viewing things up close rather than at a distance.