mirror of
https://github.com/pocketpy/pocketpy
synced 2025-12-11 12:40:18 +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
|
s.prepare_command = <<-CMD
|
||||||
rm -rf pocketpy
|
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
|
cd pocketpy
|
||||||
git submodule update --init --recursive --depth 1
|
git submodule update --init --recursive --depth 1
|
||||||
bash build_ios_libs.sh
|
bash build_ios_libs.sh
|
||||||
|
|||||||
@ -32,7 +32,7 @@ A new Flutter FFI plugin project.
|
|||||||
|
|
||||||
s.prepare_command = <<-CMD
|
s.prepare_command = <<-CMD
|
||||||
rm -rf pocketpy
|
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
|
cd pocketpy
|
||||||
git submodule update --init --recursive --depth 1
|
git submodule update --init --recursive --depth 1
|
||||||
bash build_darwin_libs.sh
|
bash build_darwin_libs.sh
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
name: pocketpy
|
name: pocketpy
|
||||||
description: A lightweight Python interpreter for game engines. It supports Android/iOS/Windows/Linux/MacOS.
|
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
|
homepage: https://pocketpy.dev
|
||||||
repository: https://github.com/pocketpy/pocketpy
|
repository: https://github.com/pocketpy/pocketpy
|
||||||
|
|
||||||
|
|||||||
@ -21,7 +21,7 @@ set(PK_BUILD_SHARED_LIB ON CACHE BOOL "" FORCE)
|
|||||||
FetchContent_Declare(
|
FetchContent_Declare(
|
||||||
pocketpy
|
pocketpy
|
||||||
GIT_REPOSITORY https://github.com/pocketpy/pocketpy.git
|
GIT_REPOSITORY https://github.com/pocketpy/pocketpy.git
|
||||||
GIT_TAG v2.1.4
|
GIT_TAG v2.1.5
|
||||||
)
|
)
|
||||||
|
|
||||||
FetchContent_MakeAvailable(pocketpy)
|
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()));
|
c11_sbuf__write_sv(&buf, py_tosv(py_retval()));
|
||||||
}
|
}
|
||||||
|
// newline
|
||||||
if(j < self->n_rows - 1) {
|
if(j < self->n_rows - 1) {
|
||||||
if(curr_fg.u32 != 0 || curr_bg.u32 != 0) {
|
curr_fg.u32 = 0;
|
||||||
curr_fg.u32 = 0;
|
curr_bg.u32 = 0;
|
||||||
curr_bg.u32 = 0;
|
c11_sbuf__write_cstr(&buf, "\x1b[0m\n");
|
||||||
c11_sbuf__write_cstr(&buf, "\x1b[0m\n");
|
} else {
|
||||||
} else {
|
c11_sbuf__write_cstr(&buf, "\x1b[0m");
|
||||||
c11_sbuf__write_char(&buf, '\n');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
c11_sbuf__py_submit(&buf, py_retval());
|
c11_sbuf__py_submit(&buf, py_retval());
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user