mirror of
https://github.com/Lennart1978/drinfo.git
synced 2026-11-09 16:20:50 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7267af7a57 | ||
|
|
8ada6ea6f1 | ||
|
|
f715474b61 | ||
|
|
835be26eda | ||
|
|
767340195f |
No files matched your search
@@ -0,0 +1,21 @@
|
||||
name: C/C++ CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: make
|
||||
run: make
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
pull-requests: write
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
// Constants for terminal and display
|
||||
#define TERM_FALLBACK_WIDTH 80
|
||||
#define VERSION "1.0.0"
|
||||
#define VERSION "1.0.1"
|
||||
#define COLOR_BUFFER_SIZE 32
|
||||
#define MAX_UNITS 5
|
||||
#define BYTES_PER_KB 1024.0
|
||||
@@ -39,7 +39,7 @@
|
||||
#define BARLINE_BUFFER_EXTRA 16
|
||||
|
||||
// Constants for terminal width calculations
|
||||
#define TERMINAL_WIDTH_PERCENTAGE 80
|
||||
#define TERMINAL_WIDTH_PERCENTAGE 4
|
||||
#define TERMINAL_WIDTH_DIVISOR 5
|
||||
#define MAX_BOX_WIDTH 120
|
||||
#define MIN_BOX_WIDTH 40
|
||||
|
||||
Reference in new issue
Block a user