Skip to content

Commit

Permalink
Update Turbo Vision API usage
Browse files Browse the repository at this point in the history
  • Loading branch information
magiblot committed Oct 11, 2024
1 parent 2cbcc39 commit ad6b4bc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion deps/tvision
Submodule tvision updated 215 files
8 changes: 4 additions & 4 deletions source/tvterm-core/termactiv.cc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include <tvterm/termactiv.h>
#include <tvterm/threadpool.h>

#define Uses_TEvent
#define Uses_TEventQueue
#include <tvision/tv.h>

namespace tvterm
Expand Down Expand Up @@ -96,7 +96,7 @@ bool TerminalActivity::onWaitFinish(bool isError, bool isTimeout) noexcept
});
checkSize();
updated = true;
TEvent::putNothing();
TEventQueue::wakeUp();
if (!isError)
{
async.writeOutput(std::move(clientDataWriter.buffer));
Expand All @@ -108,7 +108,7 @@ bool TerminalActivity::onWaitFinish(bool isError, bool isTimeout) noexcept
case wsEOF:
updated = true;
closed = true;
TEvent::putNothing();
TEventQueue::wakeUp();
return false;
}
}
Expand All @@ -131,7 +131,7 @@ void TerminalActivity::checkSize() noexcept
terminal.updateState(state);
});
updated = true;
TEvent::putNothing();
TEventQueue::wakeUp();
}
else
pty.setSize(viewportSize);
Expand Down

0 comments on commit ad6b4bc

Please sign in to comment.