change section delimiters in log for OpenBSD

[?]
Oct 20, 2023, 10:53 PM
T45HTERYG2C2PJ4R7OK76ZXP75QVRMZY5YYPU3WPDIPNNFGEM72QC

Dependencies

  • [2] KKMFQDR4 editing source code from within the app
  • [3] CEDTFKFD delete some dead code
  • [4] ME7WBLF5 bugfix: log filenames can have 2 formats
  • [5] ICFNWHOL create a place for graphical log handlers

Change contents

  • replacement in log_browser.lua at line 45
    [2.193544][2.193544:193590]()
    elseif line.data:match('\u{250c}') then
    [2.193544]
    [2.193590]
    elseif line.data:match('%[ u250c') then
  • replacement in log_browser.lua at line 47
    [2.193682][2.193682:193746]()
    local section_name = line.data:match('\u{250c}%s*(.*)')
    [2.193682]
    [2.193746]
    local section_name = line.data:match('u250c%s*(.*)')
  • replacement in log_browser.lua at line 52
    [2.193902][2.193902:194012]()
    elseif line.data:match('\u{2518}') then
    local section_name = line.data:match('\u{2518}%s*(.*)')
    [2.193902]
    [2.194012]
    elseif line.data:match('%] u2518') then
    local section_name = line.data:match('] u2518%s*(.*)')
  • replacement in log.lua at line 17
    [2.203712][2.203712:203757]()
    log(stack_frame_index, '\u{250c} ' .. name)
    [2.203712]
    [2.203757]
    -- I'd like to use the unicode character \u{250c} here, but it doesn't work
    -- in OpenBSD.
    log(stack_frame_index, '[ u250c ' .. name)
  • replacement in log.lua at line 25
    [2.203866][2.203866:203911]()
    log(stack_frame_index, '\u{2518} ' .. name)
    [2.203866]
    [2.203911]
    -- I'd like to use the unicode character \u{2518} here, but it doesn't work
    -- in OpenBSD.
    log(stack_frame_index, '] u2518 ' .. name)