mirror of
https://github.com/pocketpy/pocketpy
synced 2025-12-10 12:10:16 +00:00
Compare commits
3 Commits
fc991ab697
...
195d69676f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
195d69676f | ||
|
|
096d93697a | ||
|
|
aa2f15fcb6 |
@ -35,7 +35,7 @@ A new Flutter FFI plugin project.
|
||||
|
||||
s.prepare_command = <<-CMD
|
||||
rm -rf pocketpy
|
||||
git clone --branch v2.1.4 --depth 1 https://github.com/pocketpy/pocketpy.git
|
||||
git clone --branch v2.1.5 --depth 1 https://github.com/pocketpy/pocketpy.git
|
||||
cd pocketpy
|
||||
git submodule update --init --recursive --depth 1
|
||||
bash build_ios_libs.sh
|
||||
|
||||
@ -32,7 +32,7 @@ A new Flutter FFI plugin project.
|
||||
|
||||
s.prepare_command = <<-CMD
|
||||
rm -rf pocketpy
|
||||
git clone --branch v2.1.4 --depth 1 https://github.com/pocketpy/pocketpy.git
|
||||
git clone --branch v2.1.5 --depth 1 https://github.com/pocketpy/pocketpy.git
|
||||
cd pocketpy
|
||||
git submodule update --init --recursive --depth 1
|
||||
bash build_darwin_libs.sh
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
name: pocketpy
|
||||
description: A lightweight Python interpreter for game engines. It supports Android/iOS/Windows/Linux/MacOS.
|
||||
version: 2.1.4
|
||||
version: 2.1.5
|
||||
homepage: https://pocketpy.dev
|
||||
repository: https://github.com/pocketpy/pocketpy
|
||||
|
||||
|
||||
@ -21,7 +21,7 @@ set(PK_BUILD_SHARED_LIB ON CACHE BOOL "" FORCE)
|
||||
FetchContent_Declare(
|
||||
pocketpy
|
||||
GIT_REPOSITORY https://github.com/pocketpy/pocketpy.git
|
||||
GIT_TAG v2.1.4
|
||||
GIT_TAG v2.1.5
|
||||
)
|
||||
|
||||
FetchContent_MakeAvailable(pocketpy)
|
||||
|
||||
@ -207,14 +207,13 @@ static bool array2d_like_render_with_color(int argc, py_Ref argv) {
|
||||
|
||||
c11_sbuf__write_sv(&buf, py_tosv(py_retval()));
|
||||
}
|
||||
// newline
|
||||
if(j < self->n_rows - 1) {
|
||||
if(curr_fg.u32 != 0 || curr_bg.u32 != 0) {
|
||||
curr_fg.u32 = 0;
|
||||
curr_bg.u32 = 0;
|
||||
c11_sbuf__write_cstr(&buf, "\x1b[0m\n");
|
||||
} else {
|
||||
c11_sbuf__write_char(&buf, '\n');
|
||||
}
|
||||
curr_fg.u32 = 0;
|
||||
curr_bg.u32 = 0;
|
||||
c11_sbuf__write_cstr(&buf, "\x1b[0m\n");
|
||||
} else {
|
||||
c11_sbuf__write_cstr(&buf, "\x1b[0m");
|
||||
}
|
||||
}
|
||||
c11_sbuf__py_submit(&buf, py_retval());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user