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

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)