diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 19b7d48..2efe4f2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -295,18 +295,6 @@ jobs: localDir: 'ready/' remoteDir: '/palera1n/artifacts/c-rewrite' - - name: Upload artifact - uses: wangyucode/sftp-upload-action@v1.4.8 - with: - host: ${{ secrets.MINEEK_FTP_HOST }} - port: 22 - username: mineekfiles - password: ${{ secrets.MINEEK_FTP_PASS }} - forceUpload: true - dryRun: false - localDir: 'ready/' - remoteDir: '/uploads/palera1n/artifacts/palera1n-c' - - name: Upload ${{ matrix.os }} thin ${{ matrix.arch }} build uses: actions/upload-artifact@v3 with: @@ -355,18 +343,6 @@ jobs: localDir: 'ready/' remoteDir: '/palera1n/artifacts/c-rewrite' - - name: Upload artifact - uses: wangyucode/sftp-upload-action@v1.4.8 - with: - host: ${{ secrets.MINEEK_FTP_HOST }} - port: 22 - username: mineekfiles - password: ${{ secrets.MINEEK_FTP_PASS }} - forceUpload: true - dryRun: false - localDir: 'ready/' - remoteDir: '/uploads/palera1n/artifacts/palera1n-c' - build-Linux: strategy: matrix: @@ -560,7 +536,8 @@ jobs: --with-readline=gnu \ --without-python \ --without-tcl \ - --disable-nls + --disable-nls \ + --with-gpm-support gmake -j$(sysctl -n hw.ncpu) libnewt.a mkdir -p ${{ env.DESTDIR }}/usr/local/{lib/pkgconfig,include} install -m644 libnewt.pc ${{ env.DESTDIR }}/usr/local/lib/pkgconfig @@ -653,14 +630,3 @@ jobs: localDir: 'ready/' remoteDir: '/palera1n/artifacts/c-rewrite' - - name: Upload artifact - uses: wangyucode/sftp-upload-action@v1.4.8 - with: - host: ${{ secrets.MINEEK_FTP_HOST }} - port: 22 - username: mineekfiles - password: ${{ secrets.MINEEK_FTP_PASS }} - forceUpload: true - dryRun: false - localDir: 'ready/' - remoteDir: '/uploads/palera1n/artifacts/palera1n-c' diff --git a/Makefile b/Makefile index 05a454f..64c5baf 100644 --- a/Makefile +++ b/Makefile @@ -25,6 +25,9 @@ LIBS += $(DEP)/lib/libusb-1.0.a ifeq ($(DEV_BUILD),1) LIBS += $(DEP)/lib/libnewt.a $(DEP)/lib/libpopt.a $(DEP)/lib/libslang.a +ifeq ($(TARGET_OS),Linux) +LIBS += $(DEP)/lib/libgpm.a +endif CFLAGS += -O0 -g -DDEV_BUILD -fno-omit-frame-pointer ifeq ($(ASAN),1) BUILD_STYLE=ASAN diff --git a/src/tui_main.c b/src/tui_main.c index 83e71a1..a22828d 100644 --- a/src/tui_main.c +++ b/src/tui_main.c @@ -29,6 +29,7 @@ int init_window() { "title=lightgray,black\n" "roottext=red,black\n" "label=lightgray,black\n" + "entry=lightgray,black\n" "window=red,black\n" "textbox=lightgray,black\n" "button=black,lightgray\n"