Code Monkey home page Code Monkey logo

hnterm's People

Contributors

ggerganov avatar sdbbs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

hnterm's Issues

Cuts off words at line break

Hi!

Nice program, but words on the end of the line are somtimes truncated instead of moved to the next line, as the word "would" below.

grafik

Cannot open in browser

How do you open a thread in the browser? The help menu says o/O - open in browser - this doesn't seem to work.

I can't build on MacOS

I followed the README instructions. My output:

... normal stuff above ...
/Users/cris/tempdev/hnterm/third-party/imtui/third-party/imgui/imgui/imgui_widgets.cpp:7022:17: warning: unused variable 'col' [-Wunused-variable]
    const ImU32 col = GetColorU32((flags & ImGuiTabBarFlags_IsFocused) ? ImGuiCol_TabActive : ImGuiCol_TabUnfocusedActive);
                ^
6 warnings generated.
[ 35%] Building CXX object third-party/imtui/third-party/CMakeFiles/imgui-for-imtui.dir/imgui/imgui/imgui_tables.cpp.o
[ 42%] Linking CXX static library libimgui-for-imtui.a
[ 42%] Built target imgui-for-imtui
[ 50%] Building CXX object third-party/imtui/src/CMakeFiles/imtui.dir/imtui-impl-text.cpp.o
[ 57%] Linking CXX static library libimtui.a
[ 57%] Built target imtui
[ 64%] Building CXX object third-party/imtui/src/CMakeFiles/imtui-ncurses.dir/imtui-impl-ncurses.cpp.o
[ 71%] Linking CXX static library libimtui-ncurses.a
[ 71%] Built target imtui-ncurses
[ 78%] Building CXX object src/CMakeFiles/hnterm.dir/main.cpp.o
/Users/cris/tempdev/hnterm/src/main.cpp:173:31: error: implicit instantiation of undefined template 'std::array<UI::WindowData, 3>'
    std::array<WindowData, 3> windows { {
                              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/c++/v1/__tuple:219:64: note: template is declared here
template <class _Tp, size_t _Size> struct _LIBCPP_TEMPLATE_VIS array;
                                                               ^
1 error generated.
make[2]: *** [src/CMakeFiles/hnterm.dir/main.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/hnterm.dir/all] Error 2
make: *** [all] Error 2

SEGV on force refresh

When the internet connection is down and one presses 'r', the application crashes:

AddressSanitizer:DEADLYSIGNAL
=================================================================
==14011==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x557cc74ebc13 bp 0x7ffc37602550 sp 0x7ffc37602300 T0)
==14011==The signal is caused by a READ memory access.
==14011==Hint: address points to the zero page.
    #0 0x557cc74ebc12 in void __gnu_cxx::new_allocator<int>::construct<int, int const&>(int*, int const&) /usr/include/c++/8/bits/vector.tcc:436
    #1 0x557cc74ebc12 in void std::allocator_traits<std::allocator<int> >::construct<int, int const&>(std::allocator<int>&, int*, int const&) /usr/include/c++/8/bits/alloc_traits.h:475
    #2 0x557cc74ebc12 in void std::vector<int, std::allocator<int> >::_M_realloc_insert<int const&>(__gnu_cxx::__normal_iterator<int*, std::vector<int, std::allocator<int> > >, int const&) /usr/include/c++/8/bits/vector.tcc:436
    #3 0x557cc74e36a8 in std::vector<int, std::allocator<int> >::push_back(int const&) /usr/include/c++/8/bits/stl_vector.h:1085
    #4 0x557cc74e36a8 in render_frame /path/to/hnterm/src/main.cpp:380
    #5 0x557cc74d42a4 in main /path/to/hnterm/src/main.cpp:718
    #6 0x7f13fa2c8b6a in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x26b6a)
    #7 0x557cc74d83d9 in _start (/path/to/hnterm/build/bin/hnterm+0x183d9)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV /usr/include/c++/8/bits/vector.tcc:436 in void __gnu_cxx::new_allocator<int>::construct<int, int const&>(int*, int const&)
==14011==ABORTING

Apparently the storyIds vector is not initialized properly at this point.

Best regards.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.