initialize screen width to something reasonable

[?]
Jul 1, 2022, 5:04 AM
QGO66DNKCM6NNXLSKKOVDLBIJ43UKN6APMF2BLO2KM4F3J7AH7KQC

Dependencies

  • [2] G3VLJLDH use the background color
  • [3] HFI2YR2C rip out geometry commandline arg
  • [4] XSLCFVFH .
  • [5] AVQ5MC5D finish uppercasing all globals
  • [6] QCQHLMST always have a filename
  • [7] AJB4LFRB try to maintain a reasonable line width
  • [8] W4UVZETR 2 regressions:
  • [9] PESSMQBJ no, make sure to compute line width after screen dimensions
  • [10] NEXUNNCF extract a function
  • [11] 46ASCE5K first commandline arg: window dimensions
  • [12] M6TH7VSZ rip out notion of Line_width
  • [13] ESETRNLB bugfix: printing the first part of a line at the bottom made it seem non-wrapping
  • [14] YTSPVDZH first successful pagedown test, first bug found by test
  • [15] YKRF5V3Z starting to load/save
  • [16] 4VKEE43Z bugfix
  • [17] OTIBCAUJ love2d scaffold
  • [18] PGZJ6NAT ensure Filename is writable when opened outside a terminal
  • [19] IZZVOCLB confirm that we have access to all of the love API
  • [20] AD34IX2Z couple more tests
  • [21] 73OCE2MC after much struggle, a brute-force undo
  • [22] R6GUSTBY default font size and line-height
  • [23] M6JI7UJ7 obsolete comment
  • [24] AVTNUQYR basic test-enabled framework
  • [25] RF5ALVNY allow the window to be resized

Change contents

  • replacement in main.lua at line 105
    [4.1738][3.8:39]()
    initialize_window_geometry()
    [4.1738]
    [4.47]
    initialize_font_settings(20)
  • replacement in main.lua at line 107
    [4.48][4.8:39]()
    initialize_font_settings(20)
    [4.48]
    [2.8]
    initialize_window_geometry()
  • replacement in main.lua at line 138
    [3.274][3.274:316]()
    App.screen.width = App.screen.width-100
    [3.274]
    [3.316]
    App.screen.width = 40*App.width(Em)